Skip to content

Commit

Permalink
dird: add systemd reload command
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Braunger committed Jan 15, 2021
1 parent 8ba6c23 commit 6f6c87e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/platforms/systemd/bareos-dir.service.in
Expand Up @@ -35,8 +35,8 @@ PIDFile=@piddir@/bareos-dir.@dir_port@.pid
ExecStartPre=@sbindir@/bareos-dir -t -f
ExecStart=@sbindir@/bareos-dir
SuccessExitStatus=0 1 15
# This daemon should be able to reload the conf file
#ExecReload=/sbin/killproc -p @piddir@/bareos-dir.pid -HUP @sbindir@/bareos-dir
ExecReload=@sbindir@/bareos-dir -t -f
ExecReload=/bin/kill -HUP $MAINPID
#Restart=on-failure
# Allow unlimited restarts,
# required for automatic restarting on Univention Corporate Servers (UCS).
Expand Down
4 changes: 2 additions & 2 deletions debian/bareos-director.service.in
Expand Up @@ -35,8 +35,8 @@ PIDFile=@piddir@/bareos-dir.@dir_port@.pid
ExecStartPre=@sbindir@/bareos-dir -t -f
ExecStart=@sbindir@/bareos-dir
SuccessExitStatus=0 1 15
# This daemon should be able to reload the conf file
#ExecReload=/sbin/killproc -p @piddir@/bareos-dir.pid -HUP @sbindir@/bareos-dir
ExecReload=@sbindir@/bareos-dir -t -f
ExecReload=/bin/kill -HUP $MAINPID
#Restart=on-failure
# Allow unlimited restarts,
# required for automatic restarting on Univention Corporate Servers (UCS).
Expand Down

0 comments on commit 6f6c87e

Please sign in to comment.