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

24 lines
219 B
Plaintext
Executable File

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