21 lines
292 B
Plaintext
Executable File
21 lines
292 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
description="CKAN DataPusher docker container"
|
|
|
|
depend() {
|
|
need docker
|
|
}
|
|
|
|
start() {
|
|
/usr/bin/docker run -d --rm \
|
|
--name ckandp \
|
|
-h ckandp \
|
|
-v /srv/ckandp/conf:/etc/ckandp \
|
|
-v /srv/ckandp/data:/srv/ckandp/data \
|
|
ckandp
|
|
}
|
|
|
|
stop() {
|
|
/usr/bin/docker stop ckandp
|
|
}
|