diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-24 17:48:24 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-24 17:48:24 +0000 |
| commit | 917fab4b4ddf202b078eae83de3e1311f2111cfa (patch) | |
| tree | 812bb6f665bd05772bf6531482cae965acd6dca2 /examples/ROOT/img/tmpfs/service/.s6-svscan | |
| parent | 5b7777a52d0b70b6094547c7cb4056aa9664f69d (diff) | |
| download | s6-917fab4b4ddf202b078eae83de3e1311f2111cfa.tar.gz | |
Delete obsolete examples/ROOT, refer to s6-linux-init instead
Diffstat (limited to 'examples/ROOT/img/tmpfs/service/.s6-svscan')
6 files changed, 0 insertions, 32 deletions
diff --git a/examples/ROOT/img/tmpfs/service/.s6-svscan/README b/examples/ROOT/img/tmpfs/service/.s6-svscan/README deleted file mode 100644 index f61dc8d..0000000 --- a/examples/ROOT/img/tmpfs/service/.s6-svscan/README +++ /dev/null @@ -1,9 +0,0 @@ -This is the image of the control directory of the s6-svscan process -running as pid 1. -"crash" is run if s6-svscan fails. -"finish" is run when s6-svscan exits its loop. - - The "SIG*" files are run as children of s6-svscan when it receives -the corresponding signal. SIGINT, SIGUSR1 and SIGUSR2 will all -trigger "s6-rc -da change" (the service manager will shut down all -the services), then s6-svscan will be told to exit its loop. diff --git a/examples/ROOT/img/tmpfs/service/.s6-svscan/SIGINT b/examples/ROOT/img/tmpfs/service/.s6-svscan/SIGINT deleted file mode 100755 index f0ff213..0000000 --- a/examples/ROOT/img/tmpfs/service/.s6-svscan/SIGINT +++ /dev/null @@ -1,3 +0,0 @@ -#!/command/execlineb -P -foreground { s6-rc -da change } -s6-svscanctl -6 . diff --git a/examples/ROOT/img/tmpfs/service/.s6-svscan/SIGUSR1 b/examples/ROOT/img/tmpfs/service/.s6-svscan/SIGUSR1 deleted file mode 100755 index cb4a4ef..0000000 --- a/examples/ROOT/img/tmpfs/service/.s6-svscan/SIGUSR1 +++ /dev/null @@ -1,3 +0,0 @@ -#!/command/execlineb -P -foreground { s6-rc -da change } -s6-svscanctl -0 . diff --git a/examples/ROOT/img/tmpfs/service/.s6-svscan/SIGUSR2 b/examples/ROOT/img/tmpfs/service/.s6-svscan/SIGUSR2 deleted file mode 100755 index e5932be..0000000 --- a/examples/ROOT/img/tmpfs/service/.s6-svscan/SIGUSR2 +++ /dev/null @@ -1,3 +0,0 @@ -#!/command/execlineb -P -foreground { s6-rc -da change } -s6-svscanctl -7 . diff --git a/examples/ROOT/img/tmpfs/service/.s6-svscan/crash b/examples/ROOT/img/tmpfs/service/.s6-svscan/crash deleted file mode 100755 index 501e316..0000000 --- a/examples/ROOT/img/tmpfs/service/.s6-svscan/crash +++ /dev/null @@ -1,13 +0,0 @@ -#!/command/execlineb -P - -# This file is run when an unrecoverable error happens -# to s6-svscan. Edit it to suit your needs. - -cd / -redirfd -r 0 /dev/console -redirfd -w 1 /dev/console -fdmove -c 2 1 - -foreground { s6-echo "s6-svscan panicked! Dropping to a root shell.\n" } - -/bin/sh -i diff --git a/examples/ROOT/img/tmpfs/service/.s6-svscan/finish b/examples/ROOT/img/tmpfs/service/.s6-svscan/finish deleted file mode 120000 index feb771e..0000000 --- a/examples/ROOT/img/tmpfs/service/.s6-svscan/finish +++ /dev/null @@ -1 +0,0 @@ -/etc/s6-init/init-stage3
\ No newline at end of file |
