--Thanks in advance,Giacomo
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/f5cc73d1-6de9-4399-b08f-5a8714fba45f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[Unit]
Description=jenkins service
After=network.target network-online.target
Wants=network-online.target
[Service]
Type=forking
ExecStart=/home/jenkins/bin/jenkins.sh start
ExecStop=/home/jenkins/bin/jenkins.sh stop
PIDFile=/home/jenkins/war/jenkins.pid
User=jenkins
[Install]
WantedBy=multi-user.target
where jenkins.sh is a script very similar to https://build.opensuse.org/package/view_file/devel:tools:building/jenkins/jenkins.init?expand=1 and the resulting command is "/home/jenkins/java/bin/java -Djava.awt.headless=true -DJENKINS_HOME=/home/jenkins/jenkins-home -jar /home/jenkins/war/jenkins.war --webroot=/home/jenkins/jenkins-home --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 --logfile=/home/jenkins/log/jenkins.log"
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7283e876-fcf6-441b-af12-7fac52cb86d7%40googlegroups.com.