From 5569643bfcb9e5c45861dcd40ede14957a7e2ca7 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 5 Oct 2012 11:53:45 +0100 Subject: Adjust lorry-controller to every minute --- bins/trove-early-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1