Re: stunnel 5.06-1 vs systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 29 Oct 2014 20:17:19 -0700
"Patrick Burroughs (Celti)" <celticmadman@xxxxxxxxx> wrote:

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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux