From 3227ea69e00a2d4e7354e12fc34d91db5af416e9 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 27 Apr 2018 18:17:07 -0400 Subject: [PATCH] Fix nodepool-launcher systemd file Our current systemd unit file does not work with type=forking, it does work with type=simple. This also means we can drop PIDFile, as it is only used by forking. Change-Id: If34fd4edfb3f241b674315f117be60e9a5cb9214 Signed-off-by: Paul Belanger --- etc/nodepool-launcher.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/nodepool-launcher.service b/etc/nodepool-launcher.service index 5617080a9..0865c8370 100644 --- a/etc/nodepool-launcher.service +++ b/etc/nodepool-launcher.service @@ -3,13 +3,12 @@ Description=Nodepool Launcher Service After=syslog.target network.target [Service] -Type=forking +Type=simple # Options to pass to nodepool-launcher. Group=nodepool User=nodepool RuntimeDirectory=nodepool ExecStart=/usr/local/bin/nodepool-launcher -PIDFile=/var/run/nodepool/nodepool.pid [Install] WantedBy=multi-user.target