Examples of launching programs from an stunnel daemon
The -l and -L arguments allow you to supply
the name of a program to launch from the stunnel Daemon.
Examples:
-l /usr/sbin/ipop3d
- Run the ipop3d (POP3 daemon).
-l /usr/sbin/swat -- swat -s /etc/smb.conf
- Run the
swat (Samba Web Administration Tool)
Here you see an example where the program
you are running (swat ) takes
additional arguments, here the -s /etc/smb.conf .
Note that you first supply the full path to the program
/usr/sbin/swat followed by two dashes, followed
by the program name (argv[0] or $0
for you C and perl programmers, respectively) and then
the arguments.
When using this form (the one with the double dash)
make sure the -l argument is your last stunnel
argument on the command line (or in the
inetd.conf file).
|