summaryrefslogtreecommitdiff
path: root/examples/s6
diff options
context:
space:
mode:
Diffstat (limited to 'examples/s6')
-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