Add Restart and Documentation parameters to the systemd unit file
This commit is contained in:
parent
85a6fef540
commit
2635faec28
@ -1,11 +1,14 @@
|
||||
[Unit]
|
||||
Description=Naming services LDAP client daemon.
|
||||
After=syslog.target network.target named.service dirsrv.target slapd.service
|
||||
Documentation=man:nslcd(8) man:nslcd.conf(5)
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/nslcd/nslcd.pid
|
||||
ExecStart=/usr/sbin/nslcd
|
||||
RestartSec=10s
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user