
Stunnel command line example
$ cat /etc/init.d/stunnel
case "$1" in
start)
stunnel -d pop3s \
-r localhost:pop3 \
-D mail.notice \
-P /var/run/stunnel.pid \
-s stunuser \
-g stunuser \
-p /etc/stunnel/mail.pem
;;
stop)
kill `cat /var/run/stunnel.pid`
;;
...
Copyright 2003, Bri Hatch of Onsight, Inc.
Presented at ISSA Puget Sound, 2003.
Presentation created using vim and MagicPoint.