Skip to content

Commit df6da46

Browse files
committed
README jenkins hacking
1 parent 0f4c0f3 commit df6da46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ JENKINS
175175
At the moment, you need to run as root - this can be done by modifying this line in the jenkins init.d/ script.
176176
This is because of the mount command issued in the GlusterFileSystem.
177177

178+
#Method 1) Modify JENKINS_USER in /etc/sysconfig/jenkins
179+
JENKINS_USER=root
180+
181+
#Method 2) Directly modify /etc/init.d/jenkins
178182
#daemon --user "$JENKINS_USER" --pidfile "$JENKINS_PID_FILE" $JAVA_CMD $PARAMS > /dev/null
179183
echo "WARNING: RUNNING AS ROOT"
180184
daemon --user root --pidfile "$JENKINS_PID_FILE" $JAVA_CMD $PARAMS > /dev/null

0 commit comments

Comments
 (0)