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