[Samba] Option configure

Sonic sonicsmith at gmail.com
Tue Jul 12 20:01:34 UTC 2016


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



More information about the samba mailing list