aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-09-26 02:31:25 +0800
committerdinoex <dinoex@FreeBSD.org>2003-09-26 02:31:25 +0800
commit2b3d44a3168d77394487e022a53b523a07a775ee (patch)
treeb54e54f5b06bbfd94fa0ddf18d836572dbed81f8 /mail
parent3e0fa664006db6949f8e38d36b073fe74f763d61 (diff)
downloadfreebsd-ports-gnome-2b3d44a3168d77394487e022a53b523a07a775ee.tar.gz
freebsd-ports-gnome-2b3d44a3168d77394487e022a53b523a07a775ee.tar.zst
freebsd-ports-gnome-2b3d44a3168d77394487e022a53b523a07a775ee.zip
- add reload target in rc.script
Diffstat (limited to 'mail')
-rw-r--r--mail/noattach/files/noattach.sh8
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