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

24 lines
239 B
Plaintext
Executable File

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