1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Make the command we use for finding a PID really work. Bump PORTREVISION.

Submitted by:	Shawn Yeager <mail@shawnyeager.com>
This commit is contained in:
Pete Fritchman 2004-01-14 04:35:54 +00:00
parent f08bde8fb8
commit 5d9292468e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98133
4 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= qmHandle
PORTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= qmhandle

View File

@ -24,7 +24,7 @@ $FreeBSD$
-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';
+my ($pidcmd) = 'ps -U qmails | grep qmail-send | cut -s -d " " -f 1';
+
#################### USER CONFIGURATION END ####################

View File

@ -7,6 +7,7 @@
PORTNAME= qmHandle
PORTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= qmhandle

View File

@ -24,7 +24,7 @@ $FreeBSD$
-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';
+my ($pidcmd) = 'ps -U qmails | grep qmail-send | cut -s -d " " -f 1';
+
#################### USER CONFIGURATION END ####################