1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

init: set core file size to unlimited by default

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11907

Signed-off-by: Raghavendra Talur <rtalur@redhat.com>

Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri May  6 19:15:17 CEST 2016 on sn-devel-144
This commit is contained in:
Raghavendra Talur 2016-05-02 16:14:06 +05:30 committed by Günther Deschner
parent 866ca591d4
commit ebd139c4db
3 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,7 @@ RETVAL=0
start() {
KIND="SMB"
echo -n $"Starting $KIND services: "
ulimit -c unlimited
daemon smbd $SMBDOPTIONS
RETVAL=$?
echo

View File

@ -50,6 +50,7 @@ RETVAL=0
start() {
KIND="SMB"
echo -n $"Starting $KIND services: "
ulimit -c unlimited
daemon smbd $SMBDOPTIONS
RETVAL=$?
echo

View File

@ -10,6 +10,7 @@ LimitNOFILE=16384
EnvironmentFile=-/etc/sysconfig/samba
ExecStart=/usr/sbin/smbd $SMBDOPTIONS
ExecReload=/usr/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
WantedBy=multi-user.target