summaryrefslogtreecommitdiff
path: root/examples/openrc/nsssd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/openrc/nsssd')
-rwxr-xr-xexamples/openrc/nsssd6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/openrc/nsssd b/examples/openrc/nsssd
index 8a0c412..1221f89 100755
--- a/examples/openrc/nsssd
+++ b/examples/openrc/nsssd
@@ -1,6 +1,8 @@
#!/sbin/openrc-run
name="nsssd"
-command="s6-ipcserver -- /run/service/nsssd/s nsssd-unix"
+command="s6-envuidgid"
+command_args="nsss s6-ipcserver -U -- /run/service/nsssd/s nsssd-unix"
+command_background=yes
pidfile="/run/service/nsssd/nsssd.pid"
-start_stop_daemon_args="-b -m -c nsssd -d /run/service/nsssd"
+start_stop_daemon_args="-d /run/service/nsssd"