From 011e8127d22596e5d3363c61cfb92b51c4be8d5c Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Thu, 4 Oct 2012 11:14:45 +0100 Subject: Log lorry-controller at info to syslog --- 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 6954a8c..8cd6028 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' | crontab -" - 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 touch $@ lorry-configured: lorry-setup lorry-controller-configured -- cgit v1.2.1