Displaying 1 result from an estimated 1 matches for "_fichier_systemd_samba4".
2015 Nov 12
1
systemd unit to start Samba as AD DC
.../usr/bin/mkdir /var/run/samba
ExecStart=/usr/sbin/samba -D -M standard
ExecReload=/usr/bin/kill -HUP $MAINPID
#FailureAction=
[Install]
WantedBy=multi-user.target
------------------------------------------------------------------------------------
I start from https://dev.tranquil.it/wiki/SAMBA_-_Fichier_systemd_samba4
As the few options used during ./configure made my Samba pid file store in
/var/run/samba I had to force this directory creation at start time using
ExecStartPre.
I kept #FailureAction hoping I figure out what kind of action I could place
there.
For it works I had to place that file in [/usr]/lib...