Spotter-VM/frontlinesms/setup/etc/init.d/frontlinesms

20 lines
253 B
Plaintext
Executable File

#!/sbin/openrc-run
description="FrontlineSMS container"
start() {
lxc-start frontlinesms
}
start_post() {
/usr/bin/vmmgr register-proxy frontlinesms
}
stop_pre() {
/usr/bin/vmmgr unregister-proxy frontlinesms
}
stop() {
lxc-stop frontlinesms
}