From 917fab4b4ddf202b078eae83de3e1311f2111cfa Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 24 Jan 2017 17:48:24 +0000 Subject: Delete obsolete examples/ROOT, refer to s6-linux-init instead --- examples/ROOT/img/tmpfs/service/s6-svscan-log/README | 9 --------- examples/ROOT/img/tmpfs/service/s6-svscan-log/run | 13 ------------- 2 files changed, 22 deletions(-) delete mode 100644 examples/ROOT/img/tmpfs/service/s6-svscan-log/README delete mode 100755 examples/ROOT/img/tmpfs/service/s6-svscan-log/run (limited to 'examples/ROOT/img/tmpfs/service/s6-svscan-log') diff --git a/examples/ROOT/img/tmpfs/service/s6-svscan-log/README b/examples/ROOT/img/tmpfs/service/s6-svscan-log/README deleted file mode 100644 index 282d4f0..0000000 --- a/examples/ROOT/img/tmpfs/service/s6-svscan-log/README +++ /dev/null @@ -1,9 +0,0 @@ -This service reads from the "fifo" named pipe and logs -what it reads to the /tmp/uncaught-logs log directory. -The whole supervision tree has its stderr redirected to "fifo", -as well as services that do not have their own logger. -So, /tmp/uncaught-logs is the catch-all logger: logs that aren't -caught anywhere else end up there. - - You should create the "fifo" named pipe in this directory, -belonging to nobody:nogroup with rights 0622. diff --git a/examples/ROOT/img/tmpfs/service/s6-svscan-log/run b/examples/ROOT/img/tmpfs/service/s6-svscan-log/run deleted file mode 100755 index 47eb828..0000000 --- a/examples/ROOT/img/tmpfs/service/s6-svscan-log/run +++ /dev/null @@ -1,13 +0,0 @@ -#!/command/execlineb -P -redirfd -w 2 /dev/console -redirfd -rnb 0 fifo -s6-setuidgid nobody -exec -c -s6-log -bp t /mnt/tmpfs/uncaught-logs - -# The -p option is important: -# even if s6-svscan is told to kill everything, -# you do not want this logger to die. -# The -b option ensures s6-log processes lines one -# at a time, so it doesn't eat up too much memory -# in case of a problem spike. -- cgit v1.3.1