blob: 037295cd29f3a912f433e07fc0bbd8bc56c6abbd [file] [log] [blame]
[Unit]
Description=RAUC Good-marking Service
ConditionKernelCommandLine=|rauc.slot
Requires=multi-user.target
After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStartPre=/bin/sh -c '[ "$(/bin/systemctl list-units --failed --all --no-legend --no-pager)" == "" ]'
ExecStart=/usr/bin/rauc status mark-good