summaryrefslogtreecommitdiff
path: root/packaging/systemd
Commit message (Collapse)AuthorAgeFilesLines
* systemd: Only start smb when network interfaces are upOleksandr Natalenko2018-08-031-1/+2
| | | | | | | | | | | | | | | | | | For smb, if the smb.conf contains explicit bindings to the network interfaces, the service must wait till network interfaces are up, otherwise the service won't be operational. The 0e571054a61e commit and the BZ 13184 have fixed this for nmb and samba, so do exactly the same here, for smb. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13559 Signed-off-by: Oleksandr Natalenko <oleksandr@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Aug 3 17:28:52 CEST 2018 on sn-devel-144
* systemd: Fix kill pathMathieu Parent2018-01-144-4/+4
| | | | | | | | | | Bug-Debian: https://bugs.debian.org/828730 BUG: https://bugzilla.samba.org/show_bug.cgi?id=12402 Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* systemd: Add documentation to Unit filesMathieu Parent2018-01-144-0/+4
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12402 Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* systemd: syslog.target is obsoleteMathieu Parent2018-01-144-4/+4
| | | | | | | | | | | | | After=syslog.target is unnecessary by now because syslog is socket-activated and will therefore be started when needed. Ref: https://lintian.debian.org/tags/systemd-service-file-refers-to-obsolete-target.html BUG: https://bugzilla.samba.org/show_bug.cgi?id=12402 Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* packaging: add configure option to preprocess and install systemd filesAurelien Aptel2018-01-084-12/+16
| | | | | | | | | | Turn the systemd service files under packaging into template (.in) files with @VAR@ substitutions and add configure options to install and tweak them. Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* systemd: Only start samba and nmbd when network interfaces are upAndreas Schneider2017-12-202-2/+4
| | | | | | | | | | | | | For samba and nmbd we need to wait till a network interface is up or they wont be operational. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13184 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Dec 20 04:21:51 CET 2017 on sn-devel-144
* systemd: Start processes in forground and without a process groupAndreas Schneider2017-11-284-4/+4
| | | | | | | | | | | | | | | | We should not double fork in notify mode or systemd think something during startup will be wrong and send SIGTERM to the process. So sometimes the daemon will not start up correctly. systemd will also handle the process group. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13129 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Nov 28 15:31:27 CET 2017 on sn-devel-144
* packaging: Set default limit for core file size in service filesAnoop C S2016-05-182-0/+2
| | | | | | | | | | | | 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
* init: set core file size to unlimited by defaultRaghavendra Talur2016-05-061-0/+1
| | | | | | | | | | | | 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
* add systemd integrationAlexander Bokovoy2014-04-234-4/+8
| | | | | | | | | | | | | | | Add --with-systemd / --without-systemd options to check whether libsystemd-daemon library is available and use it to report service startup status to systemd for smbd/winbindd/nmbd and AD DC. The problem it solves is correct reporting of the Samba services at the point when they are ready to serve clients, important for high availability software integration. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10517 Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* packaging: Add support for reloading systemd services.Andreas Schneider2012-10-114-0/+4
|
* packaging: Add config for systemd-tmpfiles.Andreas Schneider2012-10-092-0/+15
| | | | | Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Oct 9 17:10:53 CEST 2012 on sn-devel-104
* systemd: Add samba service file.Andreas Schneider2012-04-042-0/+17
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Apr 4 18:04:09 CEST 2012 on sn-devel-104
* systemd: Fix dependencies.Andreas Schneider2011-11-042-3/+2
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Nov 4 12:36:04 CET 2011 on sn-devel-104
* pkg: add comments to the systemd sysconfig fileDavid Disseldorp2011-11-031-5/+13
| | | | | Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Thu Nov 3 15:11:27 CET 2011 on sn-devel-104
* Add systemd service files.Andreas Schneider2011-10-284-0/+44
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Oct 28 11:34:27 CEST 2011 on sn-devel-104