|
root / base / usr / src / zyginit / services / vt3-login / service.toml
service.toml TOML 27 lines 763 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
# Text login on virtual terminal 3 (reachable with Ctrl-Alt-F3).
#
# A copy of console-login bound to /dev/vt/3 instead of /dev/console, giving a
# text-console fallback alongside the graphical greeter. ttymon self-claims
# /dev/vt/3 as its ctty (opens it as session leader, no O_NOCTTY), so no
# zyginit [tty] feature is needed. Requires vtdaemon: it configures the VTs
# (VT_CONFIG) and arbitrates the Ctrl-Alt-F# hotkey switch to reach this VT.
[service]
name = "vt3-login"
description = "Text login on VT3 (Ctrl-Alt-F3)"
type = "daemon"

[exec]
start = "/etc/zyginit/services/vt3-login/start.sh"

[dependencies]
requires = ["utmpd", "vtdaemon"]

[contract]
param = ["inherit", "noorphan"]
fatal = ["hwerr"]

[restart]
on = "failure"
delay = 5
max_retries = 3