blob: a51f4909e60f5677c99a9deed08a4dcf76cb5c22 [file] [log] [blame]
Jan Kundrát6da34612017-10-11 12:28:53 +02001[Unit]
2Description=RAUC Good-marking Service
3ConditionKernelCommandLine=|rauc.slot
Jan Kundrát7ac11342018-06-14 18:56:05 +02004Requires=multi-user.target
5After=multi-user.target
Jan Kundrát6da34612017-10-11 12:28:53 +02006
7[Service]
Jan Kundrát7ac11342018-06-14 18:56:05 +02008Type=oneshot
9ExecStartPre=/bin/sh -c '[ "$(/bin/systemctl list-units --failed --all --no-legend --no-pager)" == "" ]'
Jan Kundrát6da34612017-10-11 12:28:53 +020010ExecStart=/usr/bin/rauc status mark-good