blob: c861e00619acd6fad94bbea84dff9b6d4709bda5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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>
|