summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDavid Shrewsbury <shrewsbury.dave@gmail.com>2018-04-04 10:00:57 -0400
committerDavid Shrewsbury <shrewsbury.dave@gmail.com>2018-04-13 15:30:18 +0000
commitbd169254213aaa87f61cbb8732d2d20c997c1c9a (patch)
tree1af914744b11c9c1f9066625cd9061fae4c3c7c2 /etc
parentb82e3c34bfa0ca14a3c716d86839cf9943107ee3 (diff)
downloadzuul-bd169254213aaa87f61cbb8732d2d20c997c1c9a.tar.gz
Add sample systemd service files.
Also modify the Zuul From Scratch doc to reference these new files in the service installation documents. Depends-On: https://review.openstack.org/560993 Change-Id: Ifa0d1cd48ec5e1ef3358ada55b1b2769f392dfe9
Diffstat (limited to 'etc')
-rw-r--r--etc/zuul-executor.service15
-rw-r--r--etc/zuul-scheduler.service15
-rw-r--r--etc/zuul-web.service15
3 files changed, 45 insertions, 0 deletions
diff --git a/etc/zuul-executor.service b/etc/zuul-executor.service
new file mode 100644
index 000000000..d9fbdebe0
--- /dev/null
+++ b/etc/zuul-executor.service
@@ -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
diff --git a/etc/zuul-scheduler.service b/etc/zuul-scheduler.service
new file mode 100644
index 000000000..826826fa1
--- /dev/null
+++ b/etc/zuul-scheduler.service
@@ -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
diff --git a/etc/zuul-web.service b/etc/zuul-web.service
new file mode 100644
index 000000000..20594e30f
--- /dev/null
+++ b/etc/zuul-web.service
@@ -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