summaryrefslogtreecommitdiffstats
path: root/data/systemd/anaconda-shell@.service
blob: ad2141ee0b855c8a1f145724887304c3beaf5355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# anaconda-shell@.service
# This is roughly equivalent to getty@.service, except we go straight to bash
[Unit]
Description=Shell on %I
BindTo=dev-%i.device
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service

[Service]
Environment=TERM=linux
WorkingDirectory=/
ExecStart=-/sbin/agetty -n -l /bin/bash -o '--login' %I 38400
Restart=always
RestartSec=0
TimeoutSec=0
TTYPath=/dev/%i
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
KillSignal=SIGHUP