Merge "Add sample systemd service files."

This commit is contained in:
Zuul
2018-04-16 18:07:59 +00:00
committed by Gerrit Code Review
7 changed files with 96 additions and 132 deletions

15
etc/zuul-executor.service Normal file
View File

@@ -0,0 +1,15 @@
[Unit]
Description=Zuul Executor Service
After=syslog.target network.target
[Service]
Type=forking
Group=zuul
User=zuul
RuntimeDirectory=zuul
ExecStart=/usr/local/bin/zuul-executor
ExecStop=/usr/local/bin/zuul-executor stop
PIDFile=/var/run/zuul/executor.pid
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,15 @@
[Unit]
Description=Zuul Scheduler Service
After=syslog.target network.target
[Service]
Type=forking
Group=zuul
User=zuul
RuntimeDirectory=zuul
ExecStart=/usr/local/bin/zuul-scheduler
ExecStop=/usr/local/bin/zuul-scheduler stop
PIDFile=/var/run/zuul/scheduler.pid
[Install]
WantedBy=multi-user.target

15
etc/zuul-web.service Normal file
View File

@@ -0,0 +1,15 @@
[Unit]
Description=Zuul Web Service
After=syslog.target network.target
[Service]
Type=forking
Group=zuul
User=zuul
RuntimeDirectory=zuul
ExecStart=/usr/local/bin/zuul-web
ExecStop=/usr/local/bin/zuul-web stop
PIDFile=/var/run/zuul/web.pid
[Install]
WantedBy=multi-user.target