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:
parent
866ca591d4
commit
ebd139c4db
@ -51,6 +51,7 @@ RETVAL=0
|
||||
start() {
|
||||
KIND="SMB"
|
||||
echo -n $"Starting $KIND services: "
|
||||
ulimit -c unlimited
|
||||
daemon smbd $SMBDOPTIONS
|
||||
RETVAL=$?
|
||||
echo
|
||||
|
@ -50,6 +50,7 @@ RETVAL=0
|
||||
start() {
|
||||
KIND="SMB"
|
||||
echo -n $"Starting $KIND services: "
|
||||
ulimit -c unlimited
|
||||
daemon smbd $SMBDOPTIONS
|
||||
RETVAL=$?
|
||||
echo
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user