[stunnel-users] How to start stunnel4 service directly after installation, without reboot
Robin.Tu at digi.com
Wed Jan 15 07:53:49 CET 2020
I'm testing openvpn over stunnel4 and I found a weird issue: I have to restart my Ubuntu 18.04 to be able to start the stunnel service. Don't know why I couldn't start the service dicrectly by :
Systemctl start stunnel4
OS: Ubuntu 18.04
#>apt install stunnel4
and generate a conf like this:
accept = 8443
connect = 127.0.0.1:11000
Now start the service:
#>systemctl start stunnel4
#>systemctl status stunnel4
stunnel4.service - LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons)
Loaded: loaded (/etc/init.d/stunnel4; generated)
Active: active (exited) since Wed 2020-01-15 14:40:11 CST; 10min ago
Tasks: 0 (limit: 4915)
Jan 15 14:40:11 iZ8vb6j45u355dm236tpibZ systemd: Starting LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons)...
Jan 15 14:40:11 iZ8vb6j45u355dm236tpibZ stunnel4: TLS tunnels disabled, see /etc/default/stunnel4
Jan 15 14:40:11 iZ8vb6j45u355dm236tpibZ systemd: Started LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons).
Why it exited? But after reboot, same command will just work. Is it a bug?
I want to find a way to start it directly after installation. Please help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the stunnel-users