parent
2de503b027
commit
49fc35e69e
2 changed files with 31 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||||
|
[Unit] |
||||||
|
Description=Samba AD Daemon |
||||||
|
After=syslog.target network.target |
||||||
|
|
||||||
|
[Service] |
||||||
|
Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba |
||||||
|
Type=notify |
||||||
|
NotifyAccess=all |
||||||
|
PIDFile=/run/samba.pid |
||||||
|
LimitNOFILE=16384 |
||||||
|
EnvironmentFile=-/etc/sysconfig/samba |
||||||
|
ExecStart=/usr/sbin/samba --foreground --no-process-group $SAMBAOPTIONS |
||||||
|
ExecReload=/usr/bin/kill -HUP $MAINPID |
||||||
|
|
||||||
|
[Install] |
||||||
|
WantedBy=multi-user.target |
Loading…
Reference in new issue