-
- Downloads
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
Showing
- Makefile 13 additions, 7 deletionsMakefile
- contrib/init.d/rc.archlinux.asterisk 10 additions, 5 deletionscontrib/init.d/rc.archlinux.asterisk
- contrib/init.d/rc.debian.asterisk 17 additions, 9 deletionscontrib/init.d/rc.debian.asterisk
- contrib/scripts/safe_asterisk 7 additions, 1 deletioncontrib/scripts/safe_asterisk
Please register or sign in to comment