init scripts: set core file size limit to unlimited
This commit is contained in:
parent
d578adb735
commit
e1f00bffec
|
|
@ -74,6 +74,7 @@ case "$1" in
|
|||
set -e
|
||||
prepare_chroot
|
||||
check_configuration
|
||||
ulimit -c unlimited
|
||||
log_daemon_msg "Starting $DESC:" "aprsc"
|
||||
if start-stop-daemon --start --quiet --oknodo --pidfile $BASEDIR/logs/$PIDNAME.pid --exec $DAEMON -- $DAEMON_OPTS; then
|
||||
log_end_msg 0
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ start()
|
|||
[ -x $APRSC ] || exit 5
|
||||
[ -f /opt/aprsc/etc/aprsc.conf ] || exit 6
|
||||
prepare_chroot
|
||||
ulimit -c unlimited
|
||||
|
||||
echo -n $"Starting $prog: "
|
||||
$APRSC $DAEMON_OPTS && success || failure
|
||||
|
|
|
|||
Loading…
Reference in New Issue