[Samba] Compiling Samba 4.7 with systemd support on Fedora 26
Arnab Roy
arniekol at gmail.com
Thu Nov 23 22:16:56 UTC 2017
No dice :( removed as suggested updated unit file looks like this
[Unit]
Description=KKonnect KHIPU-NETWORKS Service
After=syslog.target network.target
[Service]
Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
Type=notify
NotifyAccess=all
ExecStart=/usr/local/samba/sbin/winbindd
ExecReload=/usr/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
WantedBy=multi-user.target
I had lifted the unit file from an rpm install of samba from fedora.
Thanks
Arnab
On Thu, Nov 23, 2017 at 10:09 PM, Reindl Harald via samba <
samba at lists.samba.org> wrote:
>
>
> 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"
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list