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:
parent
e881199916
commit
3227ea69e0
@ -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…
Reference in New Issue
Block a user