Package: stunnel4
Version: 3:5.32-1
Severity: wishlist
Tags: patch

Hi,

It would be nice if stunnel4 had systemd integration, perhaps a unit file such 
as the following could be used?

[Unit]
Description=Universal SSL tunnel for network daemons
After=network.target
After=syslog.target

[Install]
WantedBy=multi-user.target
Alias=stunnel.target

[Service]
Type=forking
ExecStart=/usr/bin/stunnel /etc/stunnel/stunnel.conf
ExecStop=/usr/bin/killall -9 stunnel

# Give up if ping don't get an answer
TimeoutSec=600

Restart=always
PrivateTmp=false



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages stunnel4 depends on:
ii  adduser      3.114
ii  libc6        2.22-11
ii  libssl1.0.2  1.0.2h-1
ii  libsystemd0  230-2
ii  libwrap0     7.6.q-25
ii  netbase      5.3
ii  openssl      1.0.2h-1
ii  perl         5.22.2-1

stunnel4 recommends no packages.

Versions of packages stunnel4 suggests:
pn  logcheck-database  <none>

-- no debconf information

Reply via email to