ansible-role-nodepool/templates/etc/systemd/system/nodepool-launcher.service

18 lines
496 B
Desktop File

[Unit]
Description=Nodepool Launcher Service
After=syslog.target network.target
[Service]
Type=simple
# Options to pass to nodepool-launcher.
Environment="ARGS=-l /etc/nodepool/launcher-logging.conf --no-webapp"
# The prefix used when nodepool-launcher was installed. Be sure to update this
# value if you are using a virtualenv.
Environment="PREFIX=/usr/local"
Group=nodepool
User=nodepool
ExecStart=/bin/sh -c "${PREFIX}/bin/nodepool-launcher -d ${ARGS}"
[Install]
WantedBy=multi-user.target