Spotter-VM/lxc-apps/kanboard/install/etc/init.d/kanboard

24 lines
244 B
Plaintext
Executable File

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