Re: Starting stunnel with systemd.
On Sun, 23 Apr 2023 19:09:16 +0100, Darac Marjal <mailinglist@darac.org.uk> wrote:
> 1. stunnel hasn't been in Debian since etch (Debian 4.0).
>
> 2. stunnel4 comes with a service file template
> (https://sources.debian.org/src/stunnel4/3%3A5.68-2/debian/stunnel4%40.stunnel.service/),
> which is likely to have been tested to work.
It seems, that at least in in bullseye installed stunnel4 uses
init.d script even with stunnel.
Loaded: loaded (/etc/init.d/stunnel4; generated)
And it works just fine. /etc/default/stunnel4 configures what
configuration files are used (default is /etc/stunnel/*.conf).
So there seems to be no need to create my own custom service,
when using services configured in /et/stunnel/.
--
Virgo Pärna
virgo.parna@mail.ee
Reply to: