diff options
author | davidovski <david@davidovski.xyz> | 2022-03-01 23:14:41 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-01 23:14:41 +0000 |
commit | ea4267fac55c7d8a6093a6b03ff0e9c795786d3e (patch) | |
tree | 04905981b9d5ad7a4710c472faf920f3c5e28375 /xi/s6/base/run-image/service/.s6-svscan | |
parent | efee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (diff) |
reorganised
Diffstat (limited to 'xi/s6/base/run-image/service/.s6-svscan')
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/SIGHUP | 2 | ||||
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/SIGINT | 3 | ||||
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/SIGPWR | 3 | ||||
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/SIGQUIT | 2 | ||||
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/SIGTERM | 2 | ||||
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/SIGUSR1 | 3 | ||||
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/SIGUSR2 | 3 | ||||
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/SIGWINCH | 2 | ||||
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/crash | 6 | ||||
-rwxr-xr-x | xi/s6/base/run-image/service/.s6-svscan/finish | 6 |
10 files changed, 32 insertions, 0 deletions
diff --git a/xi/s6/base/run-image/service/.s6-svscan/SIGHUP b/xi/s6/base/run-image/service/.s6-svscan/SIGHUP new file mode 100755 index 0000000..130ab12 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/SIGHUP @@ -0,0 +1,2 @@ +#!/bin/execlineb -P + diff --git a/xi/s6/base/run-image/service/.s6-svscan/SIGINT b/xi/s6/base/run-image/service/.s6-svscan/SIGINT new file mode 100755 index 0000000..9a7eeaf --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/SIGINT @@ -0,0 +1,3 @@ +#!/bin/execlineb -P + +s6-linux-init-shutdown -a -r -- now diff --git a/xi/s6/base/run-image/service/.s6-svscan/SIGPWR b/xi/s6/base/run-image/service/.s6-svscan/SIGPWR new file mode 100755 index 0000000..bc55899 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/SIGPWR @@ -0,0 +1,3 @@ +#!/bin/execlineb -P + +s6-linux-init-shutdown -a -p -- now diff --git a/xi/s6/base/run-image/service/.s6-svscan/SIGQUIT b/xi/s6/base/run-image/service/.s6-svscan/SIGQUIT new file mode 100755 index 0000000..130ab12 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/SIGQUIT @@ -0,0 +1,2 @@ +#!/bin/execlineb -P + diff --git a/xi/s6/base/run-image/service/.s6-svscan/SIGTERM b/xi/s6/base/run-image/service/.s6-svscan/SIGTERM new file mode 100755 index 0000000..130ab12 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/SIGTERM @@ -0,0 +1,2 @@ +#!/bin/execlineb -P + diff --git a/xi/s6/base/run-image/service/.s6-svscan/SIGUSR1 b/xi/s6/base/run-image/service/.s6-svscan/SIGUSR1 new file mode 100755 index 0000000..bc55899 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/SIGUSR1 @@ -0,0 +1,3 @@ +#!/bin/execlineb -P + +s6-linux-init-shutdown -a -p -- now diff --git a/xi/s6/base/run-image/service/.s6-svscan/SIGUSR2 b/xi/s6/base/run-image/service/.s6-svscan/SIGUSR2 new file mode 100755 index 0000000..5bbca00 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/SIGUSR2 @@ -0,0 +1,3 @@ +#!/bin/execlineb -P + +s6-linux-init-shutdown -a -h -- now diff --git a/xi/s6/base/run-image/service/.s6-svscan/SIGWINCH b/xi/s6/base/run-image/service/.s6-svscan/SIGWINCH new file mode 100755 index 0000000..130ab12 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/SIGWINCH @@ -0,0 +1,2 @@ +#!/bin/execlineb -P + diff --git a/xi/s6/base/run-image/service/.s6-svscan/crash b/xi/s6/base/run-image/service/.s6-svscan/crash new file mode 100755 index 0000000..e5a9440 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/crash @@ -0,0 +1,6 @@ +#!/bin/execlineb -P + +redirfd -w 2 /dev/console +fdmove -c 1 2 +foreground { s6-linux-init-echo -- "s6-svscan crashed. Rebooting." } +s6-linux-init-hpr -fr diff --git a/xi/s6/base/run-image/service/.s6-svscan/finish b/xi/s6/base/run-image/service/.s6-svscan/finish new file mode 100755 index 0000000..ad17596 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/finish @@ -0,0 +1,6 @@ +#!/bin/execlineb -P + +redirfd -w 2 /dev/console +fdmove -c 1 2 +foreground { s6-linux-init-echo -- "s6-svscan exited. Rebooting." } +s6-linux-init-hpr -fr |