Hi
We typically restart Jenkins using 'Restart Safely' from the root menu. We now want to specify the session timeout using a startup parameter:
java -jar jenkins.war --sessionTimeout=10080
How do people typically specify startup parameters? Should I use a script and never restart from the root menu?
Best regards
David
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/557da4dd82ef430080659b8415e81275%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.
Hi Mark
Thanks for your reply. I’m working on Centos 5, so I set the last line of /etc/sysconfig/jenkins to:
JENKINS_ARGS="--prefix=/jenkins --sessionTimeout=540"
I then restarted Jenkins using root menu > Restart Safely. After ~30mins inactivity I had to log in to Jenkins again.
Do you have any ideas why this is not working for me please?
Best regards
David
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFHtUzVERC_C_WB9Pt4rJvwMTOvMeEh4kbwdMkuZNYP7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Click here to report this email as spam.
I believe the safe restart does not execute the operating system level startup scripts. You need the operating system level restart, like /etc/init.d/jenkins restart.
Mark Waite
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/34b9200f307646919eb57c52c6ca735e%40EUX13SRV1.EU.NEC.COM.
Ok, thanks Mark.
David
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFcezkciKYbg-HmpJiXndu0OOM8oW%3DHUbLOHoAW1m1Ryg%40mail.gmail.com.