mirror of https://github.com/asterisk/asterisk
This patch modifies the behavior of safe_asterisk in two ways:
(1) It modifies the Asterisk Makefile such that safe_asterisk is always
installed on a 'make install'. This was done as bugfixes in the
safe_asterisk script were not applied in previous version of Asterisk
without first removing the old version of the script.
(2) In order to keep a newly installed version of safe_asterisk from impacting
local modifications, a new config file - safe_asterisk.conf.sample - has
been provided. Settings that were previously modified in safe_asterisk can
be set there instead.
(closes issue ASTERISK-21965)
Reported by: Jeremy Kister
patches:
safe_asterisk.patch uploaded by jkister (License 6232)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
changes/78/78/1
parent
bdb1c6bfb0
commit
54803338b4
@ -0,0 +1,20 @@
|
||||
Used by safe_asterisk startup script
|
||||
|
||||
# comment this line out to have this script _not_ kill all mpg123 processes when
|
||||
# asterisk exits
|
||||
KILLALLMPG123=1
|
||||
|
||||
# run asterisk with this priority
|
||||
PRIORITY=0
|
||||
|
||||
# set system filemax on supported OSes if this variable is set
|
||||
# SYSMAXFILES=262144
|
||||
|
||||
# Asterisk allows full permissions by default, so set a umask, if you want
|
||||
# restricted permissions.
|
||||
# UMASK=022
|
||||
|
||||
# set max files open with ulimit. On linux systems, this will be automatically
|
||||
# set to the system's maximum files open devided by two, if not set here.
|
||||
# MAXFILES=32768
|
||||
|
||||
Loading…
Reference in new issue