2015-12-11 02:27:50 +01:00
|
|
|
[Unit]
|
|
|
|
Description = An extensible open source continuous integration server
|
|
|
|
After = network.target
|
|
|
|
Wants = nginx.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User = jenkins
|
|
|
|
Group = jenkins
|
|
|
|
Environment=JENKINS_HOME=/var/lib/jenkins
|
2015-12-13 16:44:34 +01:00
|
|
|
ExecStart = /usr/bin/java -jar ${JENKINS_HOME}/jenkins.war
|
2015-12-11 02:27:50 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|