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

24 lines
270 B
Plaintext
Raw Normal View History

2018-01-02 11:19:00 +01:00
#!/sbin/openrc-run
2018-09-13 20:38:36 +02:00
description="KanBoard container"
2018-01-02 11:19:00 +01:00
depend() {
2018-09-13 20:38:36 +02:00
need cgroups postgres
2018-01-02 11:19:00 +01:00
}
start() {
2018-09-13 20:38:36 +02:00
lxc-start kanboard
2018-01-02 11:19:00 +01:00
}
start_post() {
2018-09-04 21:42:26 +02:00
/usr/bin/vmmgr register-proxy kanboard
}
stop_pre() {
2018-09-04 21:42:26 +02:00
/usr/bin/vmmgr unregister-proxy kanboard
}
2018-01-02 11:19:00 +01:00
stop() {
2018-09-13 20:38:36 +02:00
lxc-stop kanboard
2018-01-02 11:19:00 +01:00
}