Add example nodepool-launcher systemd service file

Change-Id: I0faff6964b938ab9014529ff9b0c7b355bbba65d
This commit is contained in:
David Shrewsbury 2018-04-12 13:53:09 -04:00
parent f42f65d7f5
commit e3a431783f
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
[Unit]
Description=Nodepool Launcher Service
After=syslog.target network.target
[Service]
Type=forking
# 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