30 Oct
2014
30 Oct
'14
6:08 a.m.
On Wed, 29 Oct 2014 20:17:19 -0700 "Patrick Burroughs (Celti)" <celticmadman@gmail.com> wrote:
On Wed, Oct 29, 2014 at 8:08 PM, Genes Lists <lists@sapience.com> wrote:
Work around is to add these 2 lines to /etc/systemd/system/stunnel.conf before the ExecStart line:
ExecStartPre=-/usr/bin/mkdir /run/stunnel ExecStartPre=/usr/bin/chown -R stunnel:stunnel /run/stunnel
Shouldn't that rather be handled by a tmpfiles.d snippet, and not in the service file?
Regards, ~Celti
Yes, tmpfiles is the correct way of handling this and there is already a conf file installed by stunnel that should be creating this dir. If it's not, the OP needs to look into why.