Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

3.6.3. Starting, Stopping and Restarting stunnel

To start stunnel, run the following command as root:
~]# stunnel /etc/stunnel/stunnel.conf
By default, stunnel uses /var/log/secure to log its output.
To terminate stunnel, kill the process by running the following command as root:
~]# kill `cat /var/run/stunnel/stunnel.pid`
If you edit the configuration file while stunnel is running, terminate stunnel and start it again for your changes to take effect.