Send SIGHUP for zuul-scheduler reload
We haven't added socket support yet to zuulv3, revert to the original way of using SIGHUP for reloading zuul-scheduler. Change-Id: Id466ccb28ea37a3b7171237e98ea08c8db7199cd Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
faa53c009c
commit
796c154ac3
@ -74,7 +74,13 @@ do_stop()
|
||||
# Function that sends a SIGHUP to the daemon/service
|
||||
#
|
||||
do_reload() {
|
||||
$DAEMON reconfigure
|
||||
#
|
||||
# If the daemon can reload its configuration without
|
||||
# restarting (for example, when it is sent a SIGHUP),
|
||||
# then implement that here.
|
||||
#
|
||||
start-stop-daemon \
|
||||
--stop --signal 1 --quiet --pidfile $PIDFILE --name zuul-scheduler
|
||||
return 0
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user