mirror of
https://github.com/kairos-io/packages.git
synced 2025-09-17 07:50:16 +00:00
22 lines
576 B
Desktop File
22 lines
576 B
Desktop File
[Unit]
|
|
Description=kairos interactive-installer
|
|
After=sysinit.target
|
|
[Service]
|
|
Type=oneshot
|
|
# input/output to tty as its interactive
|
|
# otherwise it will be silent and with no input
|
|
StandardInput=tty
|
|
StandardOutput=tty
|
|
LimitNOFILE=49152
|
|
ExecStartPre=-/bin/sh -c "dmesg -D"
|
|
TTYPath=/dev/tty1
|
|
RemainAfterExit=yes
|
|
# Stop systemd messages on tty
|
|
ExecStartPre=-/usr/bin/kill -SIGRTMIN+21 1
|
|
ExecStart=/usr/bin/kairos-agent interactive-install --shell
|
|
# Start systemd messages on tty
|
|
ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
|
|
TimeoutStopSec=10s
|
|
[Install]
|
|
WantedBy=multi-user.target
|