mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
aa8c8a7b5b
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>
15 lines
315 B
Desktop File
15 lines
315 B
Desktop File
[Unit]
|
|
Description=Samba Winbind Daemon
|
|
After=syslog.target network.target nmb.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=all
|
|
PIDFile=/run/winbindd.pid
|
|
EnvironmentFile=-/etc/sysconfig/samba
|
|
ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS"
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|