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 <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-04-27 18:17:07 -04:00
parent e881199916
commit 3227ea69e0
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -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