[Samba] Compiling Samba 4.7 with systemd support on Fedora 26
Reindl Harald
h.reindl at thelounge.net
Thu Nov 23 22:09:15 UTC 2017
Am 23.11.2017 um 23:03 schrieb Rowland Penny via samba:
> On Thu, 23 Nov 2017 21:46:17 +0000
> Arnab Roy <arniekol at gmail.com> wrote:
>
>> 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/
>
> I know nothing about systemd, but, shouldn't there be something like
> 'winbind.pid' on the end of the line above?
there should be no PIDFile line at all - the whole point of Type=notify
is a direct communication channel where a non-forking main-pid tells
systemd "i am ready to accept connections"
More information about the samba
mailing list