24 lines
257 B
Plaintext
Executable File
24 lines
257 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
description="SeedDMS container"
|
|
|
|
depend() {
|
|
need postgres
|
|
}
|
|
|
|
start() {
|
|
lxc-start seeddms
|
|
}
|
|
|
|
start_post() {
|
|
/usr/bin/vmmgr register-proxy seeddms
|
|
}
|
|
|
|
stop_pre() {
|
|
/usr/bin/vmmgr unregister-proxy seeddms
|
|
}
|
|
|
|
stop() {
|
|
lxc-stop seeddms
|
|
}
|