diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-10-05 11:53:45 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-10-05 11:53:45 +0100 |
commit | 5569643bfcb9e5c45861dcd40ede14957a7e2ca7 (patch) | |
tree | 613b72ecc09843f0bdb39e6ef9a0968fde023c37 | |
parent | bf6850a7052b39ae68d90f859ba620939271f661 (diff) | |
download | trove-setup-5569643bfcb9e5c45861dcd40ede14957a7e2ca7.tar.gz |
Adjust lorry-controller to every minute
-rwxr-xr-x | bins/trove-early-setup | 2 |
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 |