diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-10-04 11:14:45 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-10-04 11:14:45 +0100 |
commit | 011e8127d22596e5d3363c61cfb92b51c4be8d5c (patch) | |
tree | ff31880f26f9a74f43cc818a83b2c09ad5fe8fe4 /bins | |
parent | 2919fef7af795f45e9d95e50b9c327ecb071b187 (diff) | |
download | trove-setup-011e8127d22596e5d3363c61cfb92b51c4be8d5c.tar.gz |
Log lorry-controller at info to syslog
Diffstat (limited to 'bins')
-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 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 |