mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
5d9292468e
Submitted by: Shawn Yeager <mail@shawnyeager.com>
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
$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 1';
|
|
+
|
|
|
|
#################### USER CONFIGURATION END ####################
|
|
|
|
|
|
|
|
|