summaryrefslogtreecommitdiff
path: root/examples/s6-rc/nsssd/run
blob: ef9a49f94db80c6ed89447ab6b2258223ee5417a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/execlineb -S1

fdmove -c 2 1
s6-envuidgid nsss
fdmove 1 3
s6-ipcserver -1 -U -- s
nsssd-switch
  0 { nsssd-nslcd }
  0 { nsssd-unix }