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

24 lines
252 B
Plaintext
Executable File

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