SOURCES: bacula-fd.init - replaced too much

glen glen at pld-linux.org
Wed Jan 3 10:36:24 CET 2007


Author: glen                         Date: Wed Jan  3 09:36:24 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- replaced too much

---- Files affected:
SOURCES:
   bacula-fd.init (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/bacula-fd.init
diff -u SOURCES/bacula-fd.init:1.8 SOURCES/bacula-fd.init:1.9
--- SOURCES/bacula-fd.init:1.8	Wed Jan  3 10:35:49 2007
+++ SOURCES/bacula-fd.init	Wed Jan  3 10:36:19 2007
@@ -16,7 +16,7 @@
 
 start() {
 	# Check if the service is already running?
-	if [ ! -f /var/lock/bacula-fd ]; then
+	if [ ! -f /var/lock/subsys/bacula-fd ]; then
 		msg_starting "Bacula File"
 		daemon /usr/sbin/bacula-fd -u "$BACULA_FD_USER" -g "$BACULA_FD_GROUP" $2 -c /etc/bacula/bacula-fd.conf
 		RETVAL=$?
@@ -27,7 +27,7 @@
 }
 
 stop() {
-	if [ -f /var/lock/bacula-fd ]; then
+	if [ -f /var/lock/subsys/bacula-fd ]; then
 		# Stop daemons.
 		msg_stopping "Bacula File"
 		killproc /usr/sbin/bacula-fd
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/bacula-fd.init?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list