summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/openrc/nsssd2
-rw-r--r--examples/s6-rc/nsssd-log/pipeline-name (renamed from examples/s6-rc/nsssd/pipeline-name)0
-rw-r--r--examples/s6-rc/nsssd/dependencies1
-rw-r--r--examples/s6-rc/nsssd/run4
-rwxr-xr-xexamples/s6/nsssd/run4
5 files changed, 7 insertions, 4 deletions
diff --git a/examples/openrc/nsssd b/examples/openrc/nsssd
index 1221f89..8789f3b 100755
--- a/examples/openrc/nsssd
+++ b/examples/openrc/nsssd
@@ -2,7 +2,7 @@
name="nsssd"
command="s6-envuidgid"
-command_args="nsss s6-ipcserver -U -- /run/service/nsssd/s nsssd-unix"
+command_args="nsss s6-ipcserver -U -- /run/service/nsssd/s nsssd-switch 0 nsssd-nslcd '' 0 nsssd-unix ''"
command_background=yes
pidfile="/run/service/nsssd/nsssd.pid"
start_stop_daemon_args="-d /run/service/nsssd"
diff --git a/examples/s6-rc/nsssd/pipeline-name b/examples/s6-rc/nsssd-log/pipeline-name
index 84fdc32..84fdc32 100644
--- a/examples/s6-rc/nsssd/pipeline-name
+++ b/examples/s6-rc/nsssd-log/pipeline-name
diff --git a/examples/s6-rc/nsssd/dependencies b/examples/s6-rc/nsssd/dependencies
deleted file mode 100644
index 8b13789..0000000
--- a/examples/s6-rc/nsssd/dependencies
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/examples/s6-rc/nsssd/run b/examples/s6-rc/nsssd/run
index 626edd4..458e632 100644
--- a/examples/s6-rc/nsssd/run
+++ b/examples/s6-rc/nsssd/run
@@ -4,4 +4,6 @@ fdmove -c 2 1
s6-envuidgid nsss
fdmove 1 3
s6-ipcserver -1 -U -- s
-nsssd-unix
+nsssd-switch
+ 0 { nsssd-nslcd }
+ 0 { nsssd-unix }
diff --git a/examples/s6/nsssd/run b/examples/s6/nsssd/run
index 626edd4..458e632 100755
--- a/examples/s6/nsssd/run
+++ b/examples/s6/nsssd/run
@@ -4,4 +4,6 @@ fdmove -c 2 1
s6-envuidgid nsss
fdmove 1 3
s6-ipcserver -1 -U -- s
-nsssd-unix
+nsssd-switch
+ 0 { nsssd-nslcd }
+ 0 { nsssd-unix }