diff options
-rw-r--r-- | mail/noattach/files/noattach.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/noattach/files/noattach.sh b/mail/noattach/files/noattach.sh index 816941539a1b..95589b4b3021 100644 --- a/mail/noattach/files/noattach.sh +++ b/mail/noattach/files/noattach.sh @@ -21,6 +21,14 @@ stop) fi rm -f /var/run/noattach.pid ;; +reload) + if test -r /var/run/noattach.pid + then + kill `head -SIGUSR1 /var/run/noattach.pid` + else + echo " noattach: not running" 2>&1 + fi + ;; *) echo "Usage: ${0##*/}: { start | stop }" 2>&1 exit 65 |