summaryrefslogtreecommitdiffstats
path: root/doc/service/user/.s6-svscan.html
diff options
context:
space:
mode:
authorPS <p@0x53.net>2026-02-07 10:20:30 +0100
committerPS <p@0x53.net>2026-02-07 10:20:30 +0100
commit5e95d487982b9362b544139b98d1da55fa6ef78c (patch)
tree1abf6d91f9e6d0b6d0ac7b7d759663f2531eb51b /doc/service/user/.s6-svscan.html
parentf7df2f7bb6abbea365cccb1345dcf1a1b7a80797 (diff)
downloadgoetia-base-5e95d487982b9362b544139b98d1da55fa6ef78c.tar.gz
goetia-base-5e95d487982b9362b544139b98d1da55fa6ef78c.tar.bz2
goetia-base-5e95d487982b9362b544139b98d1da55fa6ef78c.zip
Add doc
Diffstat (limited to 'doc/service/user/.s6-svscan.html')
-rw-r--r--doc/service/user/.s6-svscan.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/service/user/.s6-svscan.html b/doc/service/user/.s6-svscan.html
new file mode 100644
index 0000000..c861e00
--- /dev/null
+++ b/doc/service/user/.s6-svscan.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Content-Language" content="en" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>user .s6-svscan</title>
+ <meta name="Description" content="Configuration directory for s6-svscan for the user supervision tree" />
+ <meta name="Keywords" content="goetia s6 s6-svscan user supervision tree" />
+ </head>
+ <header>
+ <p>
+ <a href="//0x53.net/software/goetia/goetia-base">goetia-base</a>
+ <br />
+ <a href="//0x53.net/software/goetia">goetia</a>
+ <br />
+ <a href="//0x53.net/software">Software</a>
+ <br />
+ <a href="//0x53.net">0x53.net</a>
+ </p>
+ </header>
+ <body>
+ <h1>The user .s6-svscan directory</h1>
+ <p>
+ The .s6-svscan directory contains scripts
+ that are executed if
+ <a href="https://skarnet.org/software/s6/s6-svscan.html">s6-svscan</a>
+ receives a signal or exits.
+ In this case its main use is to properly shutdown the
+ <a href="//0x53.net/software/goetia/supervisiontree.html#user">user supervision tree</a>
+ using:
+ </p>
+ <ul>
+ <li>
+ <a href="//0x53.net/software/goetia/goetia-base/bin/user-shutdown.html">user-shutdown</a>
+ upon receiving SIGTERM.
+ </li>
+ <li>
+ Deleting the <a href="//0x53.net/software/goetia/rundir.html">runtime directory</a>
+ of the user supervision tree in the <code>finish</code> script.
+ </li>
+ </ul>
+ <p>
+ The .s6-svscan directory is easily overlooked,
+ do not forget to symlink/copy it!
+ </p>
+ </body>
+</html>