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` ;; ...