summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-05 11:53:45 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-05 11:53:45 +0100
commit5569643bfcb9e5c45861dcd40ede14957a7e2ca7 (patch)
tree613b72ecc09843f0bdb39e6ef9a0968fde023c37
parentbf6850a7052b39ae68d90f859ba620939271f661 (diff)
downloadtrove-setup-5569643bfcb9e5c45861dcd40ede14957a7e2ca7.tar.gz
Adjust lorry-controller to every minute
-rwxr-xr-xbins/trove-early-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup
index 8cd6028..6dfb3d0 100755
--- a/bins/trove-early-setup
+++ b/bins/trove-early-setup
@@ -77,7 +77,7 @@ lorry-controller-configured: /home/lorry/.lorry-controller-setup
su -c "cd /tmp/lorries; git add lorry-controller.conf; git commit -m 'Initial configuration'; git push origin master" - git
su -c "rm -rf /tmp/lorries" - git
su -c "cd /home/lorry/lorry-controller-area/git; git remote update; git checkout master" - lorry
- su -c "echo '*/5 * * * * flock -x -n /home/lorry/lorry-controller-area/lockfile -c lorry-controller --work-area=/home/lorry/lorry-controller-area --log=syslog --log-level=info' | crontab -" - lorry
+ su -c "echo '*/1 * * * * flock -x -n /home/lorry/lorry-controller-area/lockfile -c lorry-controller --work-area=/home/lorry/lorry-controller-area --log=syslog --log-level=info' | crontab -" - lorry
touch $@
lorry-configured: lorry-setup lorry-controller-configured