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

24 lines
237 B
Plaintext
Executable File

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