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

24 lines
281 B
Plaintext
Executable File

#!/sbin/openrc-run
description="CKAN container"
depend() {
need cgroups ckan-datapusher postgres redis solr
}
start() {
lxc-start ckan
}
start_post() {
# /usr/bin/vmmgr register-proxy ckan
}
stop_pre() {
# /usr/bin/vmmgr unregister-proxy ckan
}
stop() {
lxc-stop ckan
}