20 lines
235 B
Plaintext
Executable File
20 lines
235 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
description="FrontlineSMS container"
|
|
|
|
start() {
|
|
lxc-start frontlinesms
|
|
}
|
|
|
|
start_post() {
|
|
vmmgr register-proxy frontlinesms
|
|
}
|
|
|
|
stop_pre() {
|
|
vmmgr unregister-proxy frontlinesms
|
|
}
|
|
|
|
stop() {
|
|
lxc-stop frontlinesms
|
|
}
|