summaryrefslogtreecommitdiff
path: root/nshd.service.in
blob: 7bd2804b917dcab8e191a537c9451470386298a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Name Service hackers.git Daemon
Requires=nshd.socket
Wants=nss-user-lookup.target
Before=nss-user-lookup.target

[Service]
Type=notify
# Use our setuid program instead of setting User= because otherwise it
# would deadlock as it tries to poll the nslcd socket to ask if it
# knows who the user is.  It would time out after 1 minute, but that's
# still not good.
ExecStart=@@bindir@/nshd-setuid nshd @user@ @bindir@/nshd
ExecReload=/bin/kill -HUP $MAINPID