Re: [PATCH] Add ftpsync to the lock group for lock-wrapper.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpnC0Vg67GOY.pgp
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux