Re: Debian update overwrites environment settings

2024-01-10 Thread Jochen Wiedmann
Thanks, Mark, your suggestion works perfectly. For the record, I now have a file /etc/systemd/system/jenkins.service.d/override.conf with the following content: [Service] Environment="JAVA_HOME=/usr/lib/jvm/temurin-17-jdk-amd64" Environment="JENKINS_PORT=8008" This changes both th

Re: Debian update overwrites environment settings

2024-01-02 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, dem 02.01.2024 um 11:30 -0800 schrieb Mark Waite: There is a better location for those values and it will survive updates. The"Managing systemd services"

Re: Debian update overwrites environment settings

2024-01-02 Thread Mark Waite
On Tuesday, January 2, 2024 at 12:22:51 PM UTC-7 Jochen wrote: Hi, I am using the Jenkins Debian packages from https://pkg.origin.jenkins.io/debian/ to install, and update Jenkins. In general, I'm quite happy with that. There is one exception, though: My setup requires changing of two

Debian update overwrites environment settings

2024-01-02 Thread Jochen Wiedmann
Hi, I am using the Jenkins Debian packages from https://pkg.origin.jenkins.io/debian/ to install, and update Jenkins. In general, I'm quite happy with that. There is one exception, though: My setup requires changing of two environment variables, JENKINS_PORT, and JAVA_HOME. Right now, I