From: Greg Wooledge <g...@wooledge.org>
    Date: Sat, 8 Mar 2025 23:28:24 -0500
> '... the unit definition without the argument parameter is 
> called a "template".'

Thanks.

So /lib/systemd/system/stunnel@.service is a service template file 
rather than service file.

Here, one execution of command "stunnel" yields a working tunnel. For 
systemd to open the tunnel, one "instantiated service" should suffice.

A tunnel has no intrinsic name analogous to tty3 in the 
systemd.unit(5) example. Invent a name for an instance?

Create a unit file for the service instance?

man 5 systemd.service helps but is at the abstract end of the 
documentation spectrum. Does more concrete documentation exist?

OBSERVATION

googling "site:wiki.debian.org stunnel" yields 
https://wiki.debian.org/Pan . There we read,

To enable Stunnel edit /etc/default/stunnel4

ENABLED=1

/etc/default/stunnel4 exists but lacks ENABLED. My best guess is that 
systemd obsoleted it. Stunnel needs https://wiki.debian.org/Stunnel 
with current documentation.

Thx,                        ... P.

-- 
VoIP:   +1 604 670 0140
work: https://en.wikibooks.org/wiki/User:PeterEasthope

Reply via email to