virtual-appliance/appliances/jenkins/jenkins.service

14 lines
305 B
Desktop File

[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
ExecStart = /usr/bin/java -jar ${JENKINS_HOME}/jenkins.war
[Install]
WantedBy = multi-user.target