summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2016-05-10 15:08:07 +0530
committerGünther Deschner <gd@samba.org>2016-05-18 19:26:48 +0200
commitf15b23f8358d7b2f60b1df0f81bb93a2c8789af4 (patch)
treeff312e9141b42fcc8c498f59a21bfc3513eed54f /packaging
parentba9ccc6be48e8541748afbf31d5e5dba7d1baf8e (diff)
downloadsamba-f15b23f8358d7b2f60b1df0f81bb93a2c8789af4.tar.gz
packaging: Set default limit for core file size in service files
This change adds the missing LimitCORE variable setting in nmb and winbind service files to have no limit for coredumps by default. Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Jose A. Rivera <jarrpa@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Wed May 18 19:26:49 CEST 2016 on sn-devel-144
Diffstat (limited to 'packaging')
-rw-r--r--packaging/systemd/nmb.service1
-rw-r--r--packaging/systemd/winbind.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/packaging/systemd/nmb.service b/packaging/systemd/nmb.service
index 3d71a7dacd2..992c0cd9d2b 100644
--- a/packaging/systemd/nmb.service
+++ b/packaging/systemd/nmb.service
@@ -9,6 +9,7 @@ PIDFile=/run/nmbd.pid
EnvironmentFile=-/etc/sysconfig/samba
ExecStart=/usr/sbin/nmbd $NMBDOPTIONS
ExecReload=/usr/bin/kill -HUP $MAINPID
+LimitCORE=infinity
[Install]
WantedBy=multi-user.target
diff --git a/packaging/systemd/winbind.service b/packaging/systemd/winbind.service
index f711a17f040..c511488166e 100644
--- a/packaging/systemd/winbind.service
+++ b/packaging/systemd/winbind.service
@@ -9,6 +9,7 @@ PIDFile=/run/winbindd.pid
EnvironmentFile=-/etc/sysconfig/samba
ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS"
ExecReload=/usr/bin/kill -HUP $MAINPID
+LimitCORE=infinity
[Install]
WantedBy=multi-user.target