On Wed, Jan 01, 2014 at 05:16:42PM -0700, George Joseph wrote:
> On Wed, Jan 1, 2014 at 4:31 PM, Oron Peled <[email protected]> wrote:
> 
> >
> > On Wednesday 01 January 2014 10:23:01 Tzafrir Cohen wrote:
> > > I looked into running Asterisk as non-root. But I can't find a way
> > > to get systemd to generate /var/run/asterisk as a writable directory to
> > > the service.
> >
> > I think systemd canonical answer to this is systemd-tmpfiles(8)
> > and tmpfiles.d(5).
> >
> > I don't remember at which systemd version they were introduced...
> >
> > I forget when but it's as simple as creating /etc/tmpfiles.d/asterisk.conf
> with one line in it...
> d /run/asterisk 0755 asterisk asterisk

OK. Ignore my other reply there. I misunderstood tmpfiles, I guess.

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to