Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2001 22:10:02 -0800 (PST)
From:      Martti Kuparinen <martti.kuparinen@nomadiclab.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/23554: stunnel-3.8.4 creates pid files in /var/run/stunnel =  problem with rc script
Message-ID:  <200102260610.f1Q6A2x08065@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/23554; it has been noted by GNATS.

From: Martti Kuparinen <martti.kuparinen@nomadiclab.com>
To: Rob Simmons <rsimmons@wlcg.com>
Cc: Martti Kuparinen <martti.kuparinen@piuha.net>,
	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 <martti.kuparinen@nomadiclab.com>
 http://www.iki.fi/~kuparine/
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102260610.f1Q6A2x08065>