rpms/cyrus-sasl/devel saslauthd.init,1.7,1.8

Jan F. Chadima jfch2222 at fedoraproject.org
Thu Sep 24 14:11:49 UTC 2009


Author: jfch2222

Update of /cvs/pkgs/rpms/cyrus-sasl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17501

Modified Files:
	saslauthd.init 
Log Message:
make the initscript according to the LSB



Index: saslauthd.init
===================================================================
RCS file: /cvs/pkgs/rpms/cyrus-sasl/devel/saslauthd.init,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- saslauthd.init	24 Sep 2009 11:32:04 -0000	1.7
+++ saslauthd.init	24 Sep 2009 14:11:48 -0000	1.8
@@ -38,7 +38,7 @@ lockfile=/var/lock/subsys/$prog
 start() {
 	[ -x $path ] || exit 5
 	echo -n $"Starting $prog: "
-	daemon $path -m $SOCKETDIR -a $MECH $FLAGS
+	daemon $DAEMONOPTS $path -m $SOCKETDIR -a $MECH $FLAGS
 	RETVAL=$?
 	echo
 	[ $RETVAL -eq 0 ] && touch $lockfile
@@ -98,12 +98,7 @@ case "$1" in
   status)
 	rh_status
 	;;
-  condrestart)
-	if [ -f /var/lock/subsys/$prog ]; then
-	    restart
-	fi
-	;;
-  try-restart)
+  condrestart|try-restart)
 	rh_status_q || exit 0
 	restart
 	;;




More information about the fedora-extras-commits mailing list