agama/live/live-root/etc/systemd/system/live-root-shell.service
Ladislav Slezák 655882fa54
Rename "root" to "live-root" to avoid confusion
...with "root/root".
2025-04-23 13:26:35 +02:00

18 lines
476 B
Desktop File

[Unit]
Description=Root shell at tty8
# after setting the host name to correctly display it in the shell prompt
After=agama-hostname.service
[Service]
TTYPath=/dev/tty8
StandardInput=tty
ExecStart=/usr/bin/bash
# start it again after crashing or accidentally closing the shell via "exit" or Ctrl+D
Restart=always
Type=exec
Environment=TERM=linux
# Bash ignores SIGTERM, send SIGHUP to ensure that it terminates cleanly
KillSignal=SIGHUP
[Install]
WantedBy=multi-user.target