[PATCH] Add ftpsync to the lock group for lock-wrapper.
Ricky Zhou
ricky at fedoraproject.org
Wed Feb 17 23:48:13 UTC 2010
On 2010-02-17 03:34:24 PM, Jesse Keating wrote:
> On Wed, 2010-02-17 at 18:20 -0500, Ricky Zhou wrote:
> > - ensure => present,
> > + ensure => present,
>
> Extra whitespace change here?
Sorry, I'm using tmz's great vim syntax file, which automatically fixes
indentation :-)
Actually, I spoke with Mike on IRC, and now we'd like to just modify
lock-wrapper.sh to use /var/tmp for the lock directory instead of
/var/lock. The patch is below, can we get 2 +1s?
diff --git a/modules/scripts/files/lock-wrapper.sh b/modules/scripts/files/lock-wrapper.sh
index 9472299..4b3ea09 100755
--- a/modules/scripts/files/lock-wrapper.sh
+++ b/modules/scripts/files/lock-wrapper.sh
@@ -8,7 +8,7 @@ fi
NAME=$1
SCRIPT=$2
-LOCKDIR="/var/lock/$NAME"
+LOCKDIR="/var/tmp/$NAME"
PIDFILE="$LOCKDIR/pid"
function cleanup {
Thanks,
Ricky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20100217/797f8dbf/attachment.bin
More information about the infrastructure
mailing list