summaryrefslogtreecommitdiff
path: root/etc/zuul-executor.service
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2018-04-27 18:27:24 -0400
committerPaul Belanger <pabelanger@redhat.com>2018-04-27 18:27:24 -0400
commit724ffa0b1597ba9e878ef1457e1c4537d0a8a801 (patch)
treedabb786706f76a9a95d58f611045497b3f7185a9 /etc/zuul-executor.service
parente82db1264ee17983112bcdb45d8ac24023c3542a (diff)
downloadzuul-724ffa0b1597ba9e878ef1457e1c4537d0a8a801.tar.gz
Fix zuul systemd files
Our current systemd unit files do not work with type=forking, it does work with type=simple. This also means we can drop the PIDFile, as it is only used by forking. Change-Id: Ia9a2e54b91e9b2430c612b2edfa07077f7248539 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Diffstat (limited to 'etc/zuul-executor.service')
-rw-r--r--etc/zuul-executor.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/zuul-executor.service b/etc/zuul-executor.service
index d9fbdebe0..e558e1122 100644
--- a/etc/zuul-executor.service
+++ b/etc/zuul-executor.service
@@ -3,13 +3,12 @@ Description=Zuul Executor Service
After=syslog.target network.target
[Service]
-Type=forking
+Type=simple
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