From 633445be1a9be37ae727c044417f5607706cf4ae Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 26 Jun 2018 00:25:28 +0000 Subject: Initial commit --- examples/s6/nsssd/log/run | 5 +++++ examples/s6/nsssd/notification-fd | 1 + examples/s6/nsssd/run | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100755 examples/s6/nsssd/log/run create mode 100644 examples/s6/nsssd/notification-fd create mode 100755 examples/s6/nsssd/run (limited to 'examples/s6/nsssd') 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 -- cgit v1.3.1