Spotter-VM/kanboard/setup/etc/init.d/kanboard

24 lines
270 B
Plaintext
Executable File

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