7 lines
241 B
Bash
Executable File
7 lines
241 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if docker ps | grep -q 'ckan$'; then
|
|
docker exec ckan paster --plugin=ckan tracking update -c /etc/ckan/ckan.ini >/dev/null
|
|
docker exec ckan paster --plugin=ckan search-index rebuild -r -c /etc/ckan/ckan.ini >/dev/null
|
|
fi
|