From owner-freebsd-ports Sun Feb 25 22:10: 5 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1B4E037B65D for ; Sun, 25 Feb 2001 22:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1Q6A2x08065; Sun, 25 Feb 2001 22:10:02 -0800 (PST) (envelope-from gnats) Date: Sun, 25 Feb 2001 22:10:02 -0800 (PST) Message-Id: <200102260610.f1Q6A2x08065@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Martti Kuparinen Subject: Re: ports/23554: stunnel-3.8.4 creates pid files in /var/run/stunnel = problem with rc script Reply-To: Martti Kuparinen Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/23554; it has been noted by GNATS. From: Martti Kuparinen To: Rob Simmons Cc: Martti Kuparinen , freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/23554: stunnel-3.8.4 creates pid files in /var/run/stunnel = problem with rc script Date: Mon, 26 Feb 2001 08:06:23 +0200 (EET) On Sun, 25 Feb 2001, Rob Simmons wrote: > It is fixed in the application, but the stunnel.sh rc script does not > reflect the change. There are two changes to make to the rc script: > > ${STUNNEL} -d 993 -r localhost:imap -P /var/run -p /usr/local/etc/stunnel.pem > ${STUNNEL} -d 995 -r localhost:pop3 -P /var/run -p /usr/local/etc/stunnel.pem > > The -P switch that fixes the problem should be added to the rc script, > since the default value for -P is still /var/run/stunnel :) But stunnel creates the /var/run/stunnel directory if needed... at least it did for me. # pkg_info | grep stunnel-3.14 stunnel-3.14 SSL encryption wrapper for standard network daemons # /usr/local/etc/rc.d/stunnel.sh stop # rm -rf /var/run/stunnel # /usr/local/etc/rc.d/stunnel.sh start # ps ax | grep stunnel 19940 ?? Is 0:00.00 stunnel -d 993 -r localhost:imap -p /usr/local/etc/st 19943 ?? Is 0:00.00 stunnel -d 995 -r localhost:pop3 -p /usr/local/etc/st # ls -l /var/run/stunnel/ -rw-r--r-- 1 root wheel 5 Feb 26 08:03 stunnel.localhost.imap.pid -rw-r--r-- 1 root wheel 5 Feb 26 08:03 stunnel.localhost.pop3.pid Martti --- Ericsson Research / NomadicLab Martti Kuparinen http://www.iki.fi/~kuparine/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message