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>
changes/01/564901/1
Paul Belanger 4 years ago
parent e881199916
commit 3227ea69e0
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
  1. 3
      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

Loading…
Cancel
Save