mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 20:16:35 +00:00
16 lines
451 B
SYSTEMD
16 lines
451 B
SYSTEMD
|
|
[Unit]
|
||
|
|
Description=Mark BetterFrame RAUC slot good after kiosk heartbeat
|
||
|
|
Documentation=https://github.com/BetterCorp/BetterFrame
|
||
|
|
After=betterframe-kiosk.service network-online.target
|
||
|
|
Wants=betterframe-kiosk.service network-online.target
|
||
|
|
ConditionPathExists=/etc/rauc/system.conf
|
||
|
|
ConditionPathExists=/usr/bin/rauc
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=oneshot
|
||
|
|
ExecStart=/usr/local/sbin/betterframe-rauc-mark-good.sh
|
||
|
|
RemainAfterExit=yes
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|