[Samba] Compiling Samba 4.7 with systemd support on Fedora 26
Reindl Harald
h.reindl at thelounge.net
Thu Nov 23 22:05:39 UTC 2017
Am 23.11.2017 um 22:46 schrieb Arnab Roy via samba:
> The systemd unit file looks like as follows:
>
> [Unit]
> Description=Winbindd Service
> After=syslog.target network.target
>
> [Service]
> Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
> Type=notify
> NotifyAccess=all
> PIDFile=/var/run/samba/
> ExecStart=/usr/local/samba/sbin/winbindd -D
> ExecReload=/usr/bin/kill -HUP $MAINPID
> LimitCORE=infinity
try without the -D param
https://www.freedesktop.org/software/systemd/man/systemd.service.html
Behavior of notify is similar to simple; however, it is expected that
the daemon sends a notification message via sd_notify(3) or an
equivalent call when it has finished starting up
so in that case the daemon is *not* required to double-fork and should
start in foreground
More information about the samba
mailing list