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

24 lines
234 B
Plaintext
Executable File

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