Spotter-VM/openmapkit/setup/etc/init.d/openmapkit
2018-09-13 21:54:36 +02:00

24 lines
271 B
Plaintext
Executable File

#!/sbin/openrc-run
description="OpenMapKit container"
depend() {
need cgroups
}
start() {
lxc-start openmapkit
}
start_post() {
/usr/bin/vmmgr register-proxy openmapkit
}
stop_pre() {
/usr/bin/vmmgr unregister-proxy openmapkit
}
stop() {
lxc-stop openmapkit
}