Disassembler
ce325cf3d0
- Bump basic OS to Alpine 3.9 - Restructure repo and add layer versioning - Use JSON for all metadata - Merge abuild branch (but without abuild)
24 lines
252 B
Plaintext
Executable File
24 lines
252 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
description="EcoGIS container"
|
|
|
|
depend() {
|
|
need postgres
|
|
}
|
|
|
|
start() {
|
|
lxc-start ecogis
|
|
}
|
|
|
|
start_post() {
|
|
/usr/bin/vmmgr register-proxy ecogis
|
|
}
|
|
|
|
stop_pre() {
|
|
/usr/bin/vmmgr unregister-proxy ecogis
|
|
}
|
|
|
|
stop() {
|
|
lxc-stop ecogis
|
|
}
|