Core dump folder for opensips init script

This commit is contained in:
DanB
2015-05-09 10:03:31 +02:00
parent 21c1dfcd79
commit 5a2c195b3b

View File

@@ -114,7 +114,7 @@ if test "$DUMP_CORE" = "yes" ; then
# echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern
fi
OPTIONS="-f $CFGFILE -P $PIDFILE -m $S_MEMORY -M $P_MEMORY -u $USER -g $GROUP"
OPTIONS="-f $CFGFILE -P $PIDFILE -m $S_MEMORY -M $P_MEMORY -u $USER -g $GROUP -w $HOMEDIR"
case "$1" in
start|debug)