SOURCES: bacula-dir.init - replaced too much

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


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

---- Files affected:
SOURCES:
   bacula-dir.init (1.9 -> 1.10) 

---- Diffs:

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

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



More information about the pld-cvs-commit mailing list