summaryrefslogtreecommitdiff
path: root/examples/s6/nsssd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-06-26 00:25:28 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-06-26 00:25:28 +0000
commit633445be1a9be37ae727c044417f5607706cf4ae (patch)
tree3c037459f5249e5c18ee5b9e41802c5964364f95 /examples/s6/nsssd
downloadnsss-633445be1a9be37ae727c044417f5607706cf4ae.tar.xz
Initial commit
Diffstat (limited to 'examples/s6/nsssd')
-rwxr-xr-xexamples/s6/nsssd/log/run5
-rw-r--r--examples/s6/nsssd/notification-fd1
-rwxr-xr-xexamples/s6/nsssd/run7
3 files changed, 13 insertions, 0 deletions
diff --git a/examples/s6/nsssd/log/run b/examples/s6/nsssd/log/run
new file mode 100755
index 0000000..c133770
--- /dev/null
+++ b/examples/s6/nsssd/log/run
@@ -0,0 +1,5 @@
+#!/bin/execlineb -P
+
+s6-setuidgid nssslog
+exec -c
+s6-log t /var/log/nsssd
diff --git a/examples/s6/nsssd/notification-fd b/examples/s6/nsssd/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/s6/nsssd/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/s6/nsssd/run b/examples/s6/nsssd/run
new file mode 100755
index 0000000..626edd4
--- /dev/null
+++ b/examples/s6/nsssd/run
@@ -0,0 +1,7 @@
+#!/bin/execlineb -P
+
+fdmove -c 2 1
+s6-envuidgid nsss
+fdmove 1 3
+s6-ipcserver -1 -U -- s
+nsssd-unix