summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-02-26 08:32:58 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-02-26 08:32:58 (GMT)
commite9fa23ed1106c57e786f65104fa778ceb1821a93 (patch)
treeddc11ddf8eaebe3d81da06dd2d3a9431b15f870d
parent8480f697daf822c6c07b3415618f7d0d77557b0f (diff)
downloadpublik-client-scripts-e9fa23ed1106c57e786f65104fa778ceb1821a93.zip
publik-client-scripts-e9fa23ed1106c57e786f65104fa778ceb1821a93.tar.gz
publik-client-scripts-e9fa23ed1106c57e786f65104fa778ceb1821a93.tar.bz2
debian: add missing directory change from strasbourg cron job
-rw-r--r--debian/publik-strasbourg-scripts.cron.hourly1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/publik-strasbourg-scripts.cron.hourly b/debian/publik-strasbourg-scripts.cron.hourly
index e2426b2..be4fea9 100644
--- a/debian/publik-strasbourg-scripts.cron.hourly
+++ b/debian/publik-strasbourg-scripts.cron.hourly
@@ -1,4 +1,5 @@
#! /bin/sh
test -x /usr/bin/wcsctl || exit 0
+cd /var/lib/wcs/
sudo -u wcs /usr/bin/wcsctl runscript --vhost *strasbourg* /usr/lib/publik/clients/strasbourg/index-formdefs-in-elasticsearch.py