diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-09-25 18:31:25 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-09-25 18:31:25 +0000 |
commit | cbc0bb7a96c4521f35cc795d3d9f8724bad72aae (patch) | |
tree | d18941163ffa53af88602ea941b7bdbd2e272453 /mail | |
parent | Remove CONFIGURE_TARGET, use += in CONFIGURE_ARGS instead (diff) |
- add reload target in rc.script
Notes
Notes:
svn path=/head/; revision=89374
Diffstat (limited to 'mail')
-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 |