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

24 lines
234 B
Plaintext
Executable File

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