Skip to content
Snippets Groups Projects
jenkins.service 307 B
Newer Older
Felix Yan's avatar
Felix Yan committed
[Unit]
Description=Extendable continuous integration server
After=network.target

[Service]
User=jenkins
Felix Yan's avatar
Felix Yan committed
Type=exec
Felix Yan's avatar
Felix Yan committed
EnvironmentFile=/etc/conf.d/jenkins
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=jenkins
ExecStart=/bin/sh -c 'eval $JENKINS_COMMAND_LINE'

[Install]
WantedBy=multi-user.target