On 10/30/2014 12:04 PM, Tobias Hunger wrote:
Hi there,

tmpfiles.d is not the right approch: There is the RuntimeDirectory
keyword for unit files to manage that directory. See
http://www.freedesktop.org/software/systemd/man/systemd.exec.html for
details.

The advantage of this keyword is that systemd makes sure that it is
pristine whenever the service is started.

Maybe your stunnel unit is already using this? That would explain why
the directory is gone (when the service is not running at least).

Hi

The stunnel package from community does not include that variable nor does it include the user,group which would be necessary as well I would think.

I'm still perplexed what systemd 217 did to trigger this being an issue now.

Anyway here's what I see:

$ cat /usr/lib/systemd/system/stunnel.service
[Unit]
Description=SSL tunnel for network daemons
After=syslog.target

[Service]
ExecStart=/usr/bin/stunnel
Type=forking

[Install]

Reply via email to