Spotter-VM/sigmah/setup/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
}