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