-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsvchub.8
More file actions
35 lines (35 loc) · 1.08 KB
/
svchub.8
File metadata and controls
35 lines (35 loc) · 1.08 KB
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
.TH svchub 8
'''
.SH NAME
\fBsvchub\fR \- top-level process supervisor
'''
.SH DESCRIPTION
\fBsvchub\fR runs as PID 1 for most of the system's uptime, spawning
and monitoring a set system services.
'''
.SH USAGE
Upon startup, \fBsvchub\fR spawns \fB/etc/boot/startup\fR and waits
for it to start start some services (by invoking \fBsvcctl start\fR)
and everything that needs to be running in the system. After \fBstartup\fR
finishes, \fBsvchub\fR keeps monitoring the spawned services.
.P
If commanded or signalled to stop, \fBsvchub\fR stops all the services
it supervises and attempts to halt the system by running one of the
shutdown scripts.
'''
.SH FILES
.IP "/etc/boot/startup" 4
System startup script.
.IP "/run/svchub" 4
Control socket.
.IP "/etc/init/\fIname\fR" 4
Service startup scripts (\fBsvcctl start \fIname\fR).
.IP "/etc/boot/shutdown" 4
System shutdown (svcctl reboot, svcctl poweroff etc).
.IP "/etc/boot/failure" 4
Unexpected (non-commanded) shutdown.
.P
The shutdown scripts should in most cases just invoke \fBreboot\fR(1).
'''
.SH SEE ALSO
\fBsvcctl\fR(1), \fBreboot\fR(1), \fBmsh\fR(1).