Commits

M0E-lnx  committed 273dcbd

Fix rc script

  • Participants
  • Parent commits ba03d6a

Comments (0)

Files changed (2)

File slave/etc/rc.d/rc.vlbuildslave

 # NORMAL RC SCRIPT OPERATIONS FOR CONTROLLING THE SLAVE INSTANCE
 function slave_start {
 	# We need to create a lock file here
-	if [ -f $LOCKFILE ]; then
-		(cd $SLAVEPATH
-			buildslave stop
-		)
-		rm -rf $LOCKFILE
-	fi
+#	if [ -f $LOCKFILE ]; then#
+#		(cd $SLAVEPATH
+#			buildslave stop
+#		)
+#		rm -rf $LOCKFILE
+#	fi
+
 	( cd $SLAVEPATH
+	if [ -f twistd.pid ]; then
+		buildslave stop
+		rm twistd.pid
+	fi
 	buildslave start
 	)
 	return 0

File updated/update.conf

 #    an update to the slaves.  the function name MUST remain the same and the so must 
 #    everythin else.  The rest of the update system looks for this function.
 
-REMOTEVERSION=20131220
+REMOTEVERSION=20131220a
 CONF=/etc/vlbuildslave/slavehost.conf
 BKCONF=/etc/vlbuildslave/slavehost.conf.backup
 LOGFILE=/var/log/vlbuildbot-updated.log