diff options
Diffstat (limited to 'community/unbound/rc.d')
-rw-r--r-- | community/unbound/rc.d | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/community/unbound/rc.d b/community/unbound/rc.d index f392450ae..b5b6466de 100644 --- a/community/unbound/rc.d +++ b/community/unbound/rc.d @@ -21,6 +21,12 @@ stop) && { rm_daemon $name; stat_done; } \ || { stat_fail; exit 1; } ;; +reload) + stat_busy "Reloading $name daemon" + [[ -n "$PID" ]] && kill -SIGHUP $PID &>/dev/null \ + && { stat_done; } \ + || { stat_fail; exit 1; } + ;; restart) $0 stop sleep 2 |