Commits

Rodrigo Bistolfi committed 7b8dd18

Fix wrong paths in rc script

Comments (0)

Files changed (1)

 #!/bin/sh -e
 #
-# rc.repowatcher
+# rc.repomonitor
 # Starts a daemon that listen for filesystem events in a repository root
 # rbistolfi - 2012
 #
 
 
 REPO_ROOT=/tmp
-TAC_FILE=/usr/lib/repowatcher/service.tac
-LOG_FILE=/var/log/repowatcher.log
-PID_FILE=/var/run/repowatcher.pid
+TAC_FILE=/usr/lib/repomonitor/service.tac
+LOG_FILE=/var/log/repomonitor.log
+PID_FILE=/var/run/repomonitor.pid
 TWISTD=`which twistd`
 
 
 	if [ -e $PID_FILE ]; then
 		PID=`cat $PID_FILE`
 	else
-		echo "VL-RepoWatcher is NOT running."
+		echo "VL-RepoMonitor is NOT running."
 		exit 1
 	fi
         kill -INT $PID
 	status)
 		if [ -e $PID_FILE ]; then
 			PID=`cat $PID_FILE`
-			echo "VL-RepoWatcher is running (pid $PID)."
+			echo "VL-RepoMonitor is running (pid $PID)."
 			exit 0
 		else
-			echo "VL-RepoWatcher is NOT running."
+			echo "VL-RepoMonitor is NOT running."
 			exit 1
 		fi	
 	;;