SHA256
1
0
forked from pool/glibc
2014-04-01 08:34:23 +00:00
committed by Git OBS Bridge
parent 352e35f701
commit a37f437be6
2 changed files with 12 additions and 3 deletions

View File

@@ -1,9 +1,13 @@
[Unit]
Description=Name Service Cache Daemon
Wants=nss-lookup.target nss-user-lookup.target
Before=nss-lookup.target nss-user-lookup.target
ConditionPathExists=/etc/nscd.conf
[Service]
Type=forking
ExecStart=/usr/sbin/nscd
Type=simple
PIDFile=/run/nscd/nscd.pid
ExecStart=/usr/sbin/nscd --foreground
ExecStop=/usr/sbin/nscd --shutdown
ExecReload=/usr/sbin/nscd -i passwd
ExecReload=/usr/sbin/nscd -i group
@@ -11,7 +15,6 @@ ExecReload=/usr/sbin/nscd -i hosts
ExecReload=/usr/sbin/nscd -i services
ExecReload=/usr/sbin/nscd -i netgroup
Restart=always
PIDFile=/run/nscd/nscd.pid
[Install]
WantedBy=multi-user.target