diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-06-17 09:16:20 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-06-17 09:16:20 +0000 |
commit | 5b0245acc1b5b1c520db847d70b1b81bafb4d0c2 (patch) | |
tree | 1bef850adc4043b3a30713cf36d89bddbf5dfe66 /libexecs | |
parent | eafba37e2bfc3897e3e7f65f2ce087fbee358f43 (diff) | |
download | trove-setup-5b0245acc1b5b1c520db847d70b1b81bafb4d0c2.tar.gz |
Remove old scripts and units
Diffstat (limited to 'libexecs')
-rwxr-xr-x | libexecs/remove-lorry-controller-from-lorry-crontab | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libexecs/remove-lorry-controller-from-lorry-crontab b/libexecs/remove-lorry-controller-from-lorry-crontab deleted file mode 100755 index 8fc6cf3..0000000 --- a/libexecs/remove-lorry-controller-from-lorry-crontab +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# -# Trove used to run a version of Lorry Controller that wasn't a -# daemon, but instead was invoked once a minute from a crontab owned -# by the lorry user. When we upgrade to a version of Lorry Controller -# that does run as a daemon, we need to disable the cronjob. This -# script does that. -# -# The lorry user crontab may contain other jobs, so we can't just -# willy-nilly delete the whole crontab. Instead, we remove the -# specific line. The line looks like this: -# -# */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 --html-file=/home/lorry/lc-status.html -# -# Except, of course, all on one line. - - -crontab -l | -grep -v -e '-c lorry-controller' | -crontab - |