agama/live/live-root/etc/systemd/system/live-root-shell.service
2026-04-01 16:39:45 +02:00

19 lines
543 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
# run as login shell to set the defaults from /etc/profile
ExecStart=/usr/bin/bash --login
# 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