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
-- _____________________________________________________________________ -- 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
