summaryrefslogtreecommitdiff
path: root/nshd.socket.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-02 13:46:05 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-02 13:46:05 -0600
commit961ed91fa17ecc4349a8a942e78db50288bd7d61 (patch)
tree570df34c4c72fb5fc1997446a50bbb43c721c974 /nshd.socket.in
parent212105ea42362d49416e9d32261e2e099632c38c (diff)
Make the daemon user and group compile-time configurable
Diffstat (limited to 'nshd.socket.in')
-rw-r--r--nshd.socket.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/nshd.socket.in b/nshd.socket.in
new file mode 100644
index 0000000..a514391
--- /dev/null
+++ b/nshd.socket.in
@@ -0,0 +1,13 @@
+[Unit]
+Description=Parabola hackers.git authentication
+
+[Socket]
+ListenStream=/var/run/nslcd/socket
+PassCredentials=yes
+PassSecurity=yes
+
+SocketUser=@user@
+SocketGroup=@group@
+
+[Install]
+WantedBy=sockets.target