mirror of
https://github.com/kairos-io/packages.git
synced 2025-07-19 01:28:01 +00:00
Protect against first boot shenanigans (#1000)
This commit is contained in:
parent
e89fe966cb
commit
16b1d80dcb
@ -1,4 +1,4 @@
|
||||
packages:
|
||||
- name: "kairos-overlay-files"
|
||||
category: "static"
|
||||
version: "1.1.43"
|
||||
version: "1.1.44"
|
||||
|
@ -5,6 +5,4 @@ Wants=network.target
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
ExecStart=/usr/bin/kairos-agent start
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
ExecStart=/usr/bin/kairos-agent start
|
@ -20,5 +20,3 @@ ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
|
||||
TimeoutStopSec=10s
|
||||
# Restart if it fails, like user doing control+c
|
||||
Restart=on-failure
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -14,6 +14,4 @@ TTYPath=/dev/tty1
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/kairos-agent recovery
|
||||
# Start systemd messages on tty
|
||||
ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
|
@ -14,5 +14,3 @@ ExecStart=/usr/bin/kairos-agent reset --unattended --reboot
|
||||
# Start systemd messages on tty
|
||||
ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
|
||||
TimeoutStopSec=10s
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -3,6 +3,4 @@ Description=kairos installer
|
||||
After=sysinit.target
|
||||
[Service]
|
||||
ExecStart=/usr/bin/kairos-agent webui
|
||||
TimeoutStopSec=10s
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
TimeoutStopSec=10s
|
@ -14,6 +14,4 @@ ExecStartPre=-/usr/bin/kill -SIGRTMIN+21 1
|
||||
ExecStart=/usr/bin/kairos-agent install
|
||||
# Start systemd messages on tty
|
||||
ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
|
||||
TimeoutStopSec=10s
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
TimeoutStopSec=10s
|
Loading…
Reference in New Issue
Block a user