Restructure container manager startup script

Mount /cache and /data properly and stop bridge correctly.
This commit is contained in:
Simon Fels 2016-12-08 17:08:18 +01:00
commit cbb4beaac2
2 changed files with 50 additions and 31 deletions

View file

@ -12,7 +12,8 @@ apps:
anbox:
command: bin/anbox-wrapper.sh
container-manager:
command: bin/container-manager.sh
command: bin/container-manager.sh start
stop-command: bin/container-manager.sh stop
daemon: simple
# FIXME: a oneshot unit with start/stop commands needs also RemainAfterExit=yes
# but this isn't supported by snapd yet. See LP #1647169 for details.