diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2003-01-23 13:32:09 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2003-01-23 13:32:09 +0000 |
commit | 7db03c9a369dd09a09104efdb4071b513e84abf5 (patch) | |
tree | 60aa16afd47a08300d1bf78c927a60973974a5fc /mail/qmHandle/files | |
parent | f7747a8f6221b68dd54a6f54780973a982390852 (diff) |
Notes
Diffstat (limited to 'mail/qmHandle/files')
-rw-r--r-- | mail/qmHandle/files/patch-qmHandle | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mail/qmHandle/files/patch-qmHandle b/mail/qmHandle/files/patch-qmHandle new file mode 100644 index 000000000000..f894d23c0365 --- /dev/null +++ b/mail/qmHandle/files/patch-qmHandle @@ -0,0 +1,34 @@ +$FreeBSD$ + +--- qmHandle.orig Thu Jan 16 10:05:21 2003 ++++ qmHandle Thu Jan 16 10:31:33 2003 +@@ -26,8 +26,12 @@ + #my ($startqmail) = '/usr/local/bin/svc -u /service/qmail-send'; + + # While this is if you have a Debian GNU/Linux with its qmail package +-my ($stopqmail) = '/etc/init.d/qmail stop'; +-my ($startqmail) = '/etc/init.d/qmail start'; ++#my ($stopqmail) = '/etc/init.d/qmail stop'; ++#my ($startqmail) = '/etc/init.d/qmail start'; ++ ++# This is if you have FreeBSD with its qmail package ++my ($stopqmail) = '%%LOCALBASE%%/etc/rc.d/qmail.sh stop'; ++my ($startqmail) = '%%LOCALBASE%%/etc/rc.d/qmail.sh start'; + + # If you don't have scripts, leave $stopqmail blank (the process will + # be hunted and killed by qmHandle): +@@ -43,7 +47,10 @@ + ##### + # Enter here the system command which returns qmail PID. The following + # should work on most Unixes: +-my ($pidcmd) = 'pidof qmail-send'; ++#my ($pidcmd) = 'pidof qmail-send'; ++# This is for FreeBSD with a standard qmail installation: ++my ($pidcmd) = 'ps -U qmails | grep qmail-send | cut -s -d " " -f 3'; ++ + + #################### USER CONFIGURATION END #################### + + + + |