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

24 lines
252 B
Plaintext
Raw Normal View History

2018-09-14 08:53:27 +02:00
#!/sbin/openrc-run
description="SAMBRO container"
depend() {
need postgres
2018-09-14 08:53:27 +02:00
}
start() {
lxc-start sambro
}
start_post() {
/usr/bin/vmmgr register-proxy sambro
}
stop_pre() {
/usr/bin/vmmgr unregister-proxy sambro
}
stop() {
lxc-stop sambro
}