It depends on the context where you're running that server.  Refer to
https://jenkins.io/download/ for the current list of platform specific
installers and the instructions to use them.

If you're running on a Debian or Ubuntu server, you should be able to
modify the command line arguments in /etc/defaults/jenkins.  See
https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+on+Ubuntu for
more details.

If you're running on a CentOS, Red Hat or OpenSUSE, you should be able to
modify the command line arguments in /etc/sysconfig/jenkins.  See
https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions


If you're running on Windows, there is a configuration file written to the
installation directory which can be changed.  See
https://wiki.jenkins.io/display/JENKINS/Thanks+for+using+Windows+Installer

Mark Waite

On Fri, Nov 10, 2017 at 5:12 AM David Aldrich <[email protected]>
wrote:

> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/557da4dd82ef430080659b8415e81275%40EUX13SRV1.EU.NEC.COM
> <https://groups.google.com/d/msgid/jenkinsci-users/557da4dd82ef430080659b8415e81275%40EUX13SRV1.EU.NEC.COM?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
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.

Reply via email to