
Now that we are using systemd everywhere, we can simplify our service configuration. Change-Id: I9bacb3925f8e95587d459284758de337f9a270c3 Depends-On: I37ae527a93f5d5300c9ac4a1b4a6ca4363e7096d Signed-off-by: Paul Belanger <pabelanger@redhat.com>
18 lines
479 B
Desktop File
18 lines
479 B
Desktop File
[Unit]
|
|
Description=Nodepool Builder Service
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Options to pass to nodepool-builder.
|
|
Environment="ARGS=-l /etc/nodepool/builder-logging.conf"
|
|
# The prefix used when nodepool-builder 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-builder -d ${ARGS}"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|