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
|
After=syslog.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=simple
|
||||||
# Options to pass to nodepool-launcher.
|
# Options to pass to nodepool-launcher.
|
||||||
Group=nodepool
|
Group=nodepool
|
||||||
User=nodepool
|
User=nodepool
|
||||||
RuntimeDirectory=nodepool
|
RuntimeDirectory=nodepool
|
||||||
ExecStart=/usr/local/bin/nodepool-launcher
|
ExecStart=/usr/local/bin/nodepool-launcher
|
||||||
PIDFile=/var/run/nodepool/nodepool.pid
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user