asterisk/contrib/init.d
Michiel van Baak 5b497da128 set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path
When running asterisk as non-root and without this patch the pidfile wants
to go into /var/run/asterisk.pid. This directory is not writable for
the non-root user and changing permissions is not an option.
Putting it in /var/run/asterisk/asterisk.pid makes it possible
to set permissions on the /var/run/asterisk dir so everything
works as it should be.

Patched committed is based on pabelanger's patch.

(closes issue #13153)
Reported by: pabelanger
Patches:
      2009012900_bug13153-nonrootscripts.diff.txt uploaded by mvanbaak (license 7)

Review: http://reviewboard.digium.com/r/139/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-21 13:13:35 +00:00
..
rc.archlinux.asterisk set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path 2009-02-21 13:13:35 +00:00
rc.debian.asterisk set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path 2009-02-21 13:13:35 +00:00
rc.gentoo.asterisk Merged revisions 119301 via svnmerge from 2008-05-30 16:47:24 +00:00
rc.mandriva.asterisk dont use deprecated commands in the init scripts. 2008-10-18 09:02:36 +00:00
rc.mandriva.zaptel Rename Mandrake scripts to Mandriva 2008-08-04 17:12:15 +00:00
rc.redhat.asterisk dont use deprecated commands in the init scripts. 2008-10-18 09:02:36 +00:00
rc.slackware.asterisk Merged revisions 119301 via svnmerge from 2008-05-30 16:47:24 +00:00
rc.suse.asterisk dont use deprecated commands in the init scripts. 2008-10-18 09:02:36 +00:00