Use commandsocket to stop zuul services
Currently all but zuul-web support the commandsocket, so use that over kill which systemd does by default. Change-Id: Ic4eacbf6c74c8b722189780b1845ece0ff485b99 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
6ccb5af56e
commit
0a1c5e8c87
@ -8,6 +8,7 @@ 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"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -8,6 +8,7 @@ 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"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -8,6 +8,7 @@ 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"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -8,6 +8,7 @@ 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"
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user