virtual-appliance/appliances/jenkins/jenkins.service

14 lines
305 B
SYSTEMD
Raw Normal View History

[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
[Install]
WantedBy = multi-user.target