summaryrefslogtreecommitdiffstats
path: root/projectroot/usr/lib/systemd/system/rauc-mark-good.service
diff options
context:
space:
mode:
Diffstat (limited to 'projectroot/usr/lib/systemd/system/rauc-mark-good.service')
-rw-r--r--projectroot/usr/lib/systemd/system/rauc-mark-good.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/projectroot/usr/lib/systemd/system/rauc-mark-good.service b/projectroot/usr/lib/systemd/system/rauc-mark-good.service
new file mode 100644
index 0000000..89f5659
--- /dev/null
+++ b/projectroot/usr/lib/systemd/system/rauc-mark-good.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=RAUC Good-marking Service
+ConditionKernelCommandLine=|bootchooser.active
+ConditionKernelCommandLine=|rauc.slot
+Requires=boot-complete.target
+After=boot-complete.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/rauc status mark-good
+
+[Install]
+WantedBy=multi-user.target