|
root / base / hammerhead-xdm / service.toml
service.toml TOML 27 lines 989 B
 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
# Hammerhead's first port-provided zyginit service.
# Graphical login via xdm on the console framebuffer. Runs as ROOT (xdm
# itself drops privileges per session), so NO `user` field. Shipped
# DISABLED: this port creates no /etc/zyginit/enabled.d/xdm symlink.
#
# Coexists with console-login: the decoupled X server lives on its own VT
# (vtdaemon holds vt1, X gets vt2), so it does NOT contend for /dev/console.
# Ctrl-Alt-F# switches between the greeter (vt2) and the text consoles.
[service]
name = "xdm"
description = "Graphical login (xdm on the console framebuffer)"
type = "daemon"
[exec]
start = "/etc/zyginit/services/xdm/start.sh"
[dependencies]
# vtdaemon MUST be up first: it configures the kernel VT subsystem, without
# which Xorg's VT_WAITACTIVE bring-up hangs (started with no ctty by zyginit).
requires = ["utmpd", "filesystem", "vtdaemon"]
after = ["devfs"]
[contract]
param = ["inherit", "noorphan"]
fatal = ["hwerr"]
[restart]
on = "failure"
delay = 5
max_retries = 3