How to make stunnel autorun on startup?

How do you make stunnel autorun on startup? Mr. Jack

Jack, On which platform? On Red Hat and derived distributions, You copy the stunnel startup script to the /etc/init.d directory and set it to run at startup with the chkconfig command. Assuming your stunnel startup script is stunnel, you do /sbin/chkconfig stunnel on You can find an init script in the stunnel source package. Regards, Jose -----Original Message----- From: Jack Liu <jackliu92@hotmail.com> Sender: stunnel-users-bounces@stunnel.org Date: Fri, 10 Jun 2011 20:06:48 To: <stunnel-users@stunnel.org> Subject: [stunnel-users] How to make stunnel autorun on startup? _______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users

Sorry, I just hit reply and forgot to add stunnel-users@stunnel.org I have the script, however, my system is centos and the following error occur when start stunnel service # service stunnel start Starting stunnel: /etc/init.d/stunnel: line 77: /usr/sbin/stunnel: No such file or directory Line 77 is: #Path to executable SEXE=/usr/sbin/stunnel I have no idea where my stunnel executable is. Thank you! Mr. Jack
Subject: Re: [stunnel-users] How to make stunnel autorun on startup? To: jackliu92@hotmail.com; stunnel-users-bounces@stunnel.org; stunnel-users@stunnel.org From: josealf@rocketmail.com Date: Sat, 11 Jun 2011 02:38:26 +0000
Jack,
On which platform? On Red Hat and derived distributions, You copy the stunnel startup script to the /etc/init.d directory and set it to run at startup with the chkconfig command.
Assuming your stunnel startup script is stunnel, you do
/sbin/chkconfig stunnel on
You can find an init script in the stunnel source package.
Regards,
Jose
-----Original Message----- From: Jack Liu <jackliu92@hotmail.com> Sender: stunnel-users-bounces@stunnel.org Date: Fri, 10 Jun 2011 20:06:48 To: <stunnel-users@stunnel.org> Subject: [stunnel-users] How to make stunnel autorun on startup?
_______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users
participants (2)
-
Jack Liu
-
josealf@rocketmail.com