Browse code

use /etc/init.d/jenkins to start/stop server

Anthony Young authored on 2011/11/12 06:46:44
Showing 1 changed files
... ...
@@ -97,5 +97,5 @@ for plugin in ${PLUGINS//,/ }; do
97 97
 done
98 98
 
99 99
 # Restart jenkins
100
-stop jenkins || true
101
-start jenkins
100
+/etc/init.d/jenkins stop || true
101
+/etc/init.d/jenkins start