init scripts: set core file size limit to unlimited

This commit is contained in:
Heikki Hannikainen 2013-04-17 08:56:59 +03:00
parent d578adb735
commit e1f00bffec
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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