From 04451c08dd966856736d9f2f559a6568221cac31 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Tue, 8 Jul 2014 06:38:40 -0400 Subject: [PATCH] glusterd init script: fix glusterfsd stop() not running at system shutdown or reboot. RHBZ 1073217 --- glusterd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glusterd.init b/glusterd.init index 0007d2e..fecb77d 100644 --- a/glusterd.init +++ b/glusterd.init @@ -41,7 +41,7 @@ start() { daemon $exe${GLUSTERD_LOGFILE+" -l $GLUSTERD_LOGFILE"}${GLUSTERD_LOGLEVEL+" -L $GLUSTERD_LOGLEVEL"} -p $pidf retval=$? echo - [ $retval -eq 0 ] && touch $lockfile + [ $retval -eq 0 ] && touch $lockfile /var/lock/subsys/glusterfsd return $retval }