Call CKAN's update-ip.sh in start_pre()
This commit is contained in:
parent
1ea2b63636
commit
7cdd22261e
2
ckan.sh
2
ckan.sh
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
SOURCE_DIR=$(realpath $(dirname "${0}"))
|
SOURCE_DIR=$(realpath $(dirname "${0}"))
|
||||||
|
|
||||||
|
@ -7,6 +7,10 @@ depend() {
|
|||||||
use dns logger netmount
|
use dns logger netmount
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_pre() {
|
||||||
|
/srv/ckan/update-ip.sh
|
||||||
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
/usr/bin/docker run -d --rm --name ckan --link=postgres --link=redis --link=solr -p 127.0.0.1:9003:8003 -v /srv/ckan/conf:/etc/ckan -v /srv/ckan/data:/srv/ckan/storage ckan
|
/usr/bin/docker run -d --rm --name ckan --link=postgres --link=redis --link=solr -p 127.0.0.1:9003:8003 -v /srv/ckan/conf:/etc/ckan -v /srv/ckan/data:/srv/ckan/storage ckan
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user