[Samba] Option configure

Sonic
Tue, 12 Jul 2016 20:01:34 -0000

On Tue, Jul 12, 2016 at 3:25 PM, Achim Gottinger <achim at ag-web.biz>
wrote:
> This is the samba-ad-dc.service script:

Pretty similar to my samba.service script:
==================================[Unit]
Description=Samba AD server
After=network.target

[Service]
Type=forking
PIDFile=/usr/local/samba/var/run/samba.pid
LimitNOFILE=16384
ExecStart=/usr/local/samba/sbin/samba
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
==================================
However the substitution below fails for me.
-Type=forking
+Type=notify
+NotifyAccess=all

I'm compiling samba-master from source.

Would like to know what your EnvironmentFile contains, maybe that's
needed for Type=notify.

Chris