[arch-general] stunnel 5.06-1 vs systemd

Doug Newgard scimmia at archlinux.info
Thu Oct 30 06:08:16 UTC 2014


On Wed, 29 Oct 2014 20:17:19 -0700
"Patrick Burroughs (Celti)" <celticmadman at gmail.com> wrote:

> On Wed, Oct 29, 2014 at 8:08 PM, Genes Lists <lists at 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.


More information about the arch-general mailing list