Pass secure.conf by default to nodepool services

This file is used to contain information like zookeeper auth, by default
we should enable it for our systemd integration.

Change-Id: I9dec8aef178e4faf9038b49471d1534bbce22574
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-03-22 20:39:09 -04:00
parent 17e04fb576
commit ae4f8c7134
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=simple
# Options to pass to nodepool-builder.
Environment="ARGS=-l /etc/nodepool/builder-logging.conf"
Environment="ARGS=-l /etc/nodepool/builder-logging.conf -s /etc/nodepool/secure.conf"
Group=nodepool
User=nodepool
ExecStart={{ nodepool_pip_virtualenv | default('/usr/local') }}/bin/nodepool-builder -d $ARGS

View File

@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=simple
# Options to pass to nodepool-launcher.
Environment="ARGS=-l /etc/nodepool/launcher-logging.conf --no-webapp"
Environment="ARGS=-l /etc/nodepool/launcher-logging.conf -s /etc/nodepool/secure.conf --no-webapp"
Group=nodepool
User=nodepool
ExecStart={{ nodepool_pip_virtualenv | default('/usr/local') }}/bin/nodepool-launcher -d $ARGS