summaryrefslogtreecommitdiffstats
path: root/debian/extra/units/getty-static.service
blob: 25c5c72084e90ef9ea5549ac824abffd7a14cc94 (plain)
1
2
3
4
5
6
7
8
9
10
[Unit]
Description=getty on tty2-tty6 if dbus and logind are not available
ConditionPathExists=/dev/tty0
ConditionPathExists=!/usr/bin/dbus-daemon
ConditionPathExists=!/usr/bin/dbus-broker

[Service]
Type=oneshot
ExecStart=systemctl --no-block start getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service
RemainAfterExit=true