initial commit of file from CVS for e-smith-samba on Sat Mar 23 16:28:38 AEDT 2024

This commit is contained in:
Trevor Batley
2024-03-23 16:28:38 +11:00
parent 83e7d8b945
commit d602d07ac3
199 changed files with 3955 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
[Unit]
# When systemd stops or restarts the smb.service, the action is propagated to this unit
PartOf=smb.service
# Start this unit after the smb.service start
After=smb.service
[Service]
Type=notify
NotifyAccess=all
PIDFile=/run/nmbd.pid
EnvironmentFile=-/etc/sysconfig/samba
ExecStartPre=/sbin/e-smith/service-status nmbd
ExecStartPre=-/sbin/e-smith/expand-template /etc/samba/smb.conf
ExecStartPre=-/sbin/e-smith/expand-template /etc/samba/smbusers
ExecStartPre=/sbin/e-smith/systemd/nmbd-prepare
ExecStart=/usr/sbin/nmbd --foreground --no-process-group $NMBDOPTIONS
ExecReload=/bin/kill -HUP $MAINPID
LimitCORE=infinity
Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
Restart=always
[Install]
WantedBy=sme-server.target