Remove PREFIX from service files
This was really to work around the need not to template our service files. Mostly because I was scared how large and unmanageable they would become. Let ansible do its job and remove the hacks we had in our systemd unit file. Change-Id: I5ae753d7c2a2d068750bd29400e7b736cc33df39 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
83d425bdb3
commit
7e2a53bdcd
@ -1,10 +0,0 @@
|
||||
# This file is generated by Ansible
|
||||
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
|
||||
#
|
||||
|
||||
# The prefix used when zuul-scheduler was installed. Be sure to update this value
|
||||
# if you are using a virtualenv.
|
||||
PREFIX=/usr/local
|
||||
|
||||
# The user used to start zuul-scheduler service.
|
||||
RUNASUSER=zuul
|
@ -4,11 +4,10 @@ After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="PREFIX=/usr/local"
|
||||
Group=zuul
|
||||
User=zuul
|
||||
ExecStart=/bin/sh -c "${PREFIX}/bin/zuul-executor -d"
|
||||
ExecStop=/bin/sh -c "${PREFIX}/bin/zuul-executor stop"
|
||||
ExecStart={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-executor -d
|
||||
ExecStop={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-executor stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,11 +4,10 @@ After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="PREFIX=/usr/local"
|
||||
Group=root
|
||||
User=root
|
||||
ExecStart=/bin/sh -c "${PREFIX}/bin/zuul-fingergw -d"
|
||||
ExecStop=/bin/sh -c "${PREFIX}/bin/zuul-fingergw stop"
|
||||
ExecStart={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-fingergw -d
|
||||
ExecStop={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-fingergw stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,11 +4,10 @@ After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="PREFIX=/usr/local"
|
||||
Group=zuul
|
||||
User=zuul
|
||||
ExecStart=/bin/sh -c "${PREFIX}/bin/zuul-merger -d"
|
||||
ExecStop=/bin/sh -c "${PREFIX}/bin/zuul-merger stop"
|
||||
ExecStart={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-merger -d
|
||||
ExecStop={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-merger stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,11 +4,10 @@ After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="PREFIX=/usr/local"
|
||||
Group=zuul
|
||||
User=zuul
|
||||
ExecStart=/bin/sh -c "${PREFIX}/bin/zuul-scheduler -d"
|
||||
ExecStop=/bin/sh -c "${PREFIX}/bin/zuul-scheduler stop"
|
||||
ExecStart={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-scheduler -d
|
||||
ExecStop={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-scheduler stop
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
|
@ -4,10 +4,9 @@ After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="PREFIX=/usr/local"
|
||||
Group=zuul
|
||||
User=zuul
|
||||
ExecStart=/bin/sh -c "${PREFIX}/bin/zuul-web -d"
|
||||
ExecStart={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-web -d
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user