aboutsummarylogtreecommitdiffstats
path: root/unified-kernel-image-backup.service
diff options
context:
space:
mode:
authord10n2022-02-09 11:46:23 -0500
committerd10n2022-02-09 18:17:45 -0500
commit1b97fb4256a9449452ba86da7f5d14824c62acb6 (patch)
tree4fb91cc4a5866d2a413a77e85e8ad146cfa94e7d /unified-kernel-image-backup.service
downloadaur-1b97fb4256a9449452ba86da7f5d14824c62acb6.tar.gz
Create repository
Diffstat (limited to 'unified-kernel-image-backup.service')
-rw-r--r--unified-kernel-image-backup.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/unified-kernel-image-backup.service b/unified-kernel-image-backup.service
new file mode 100644
index 000000000000..b2d18927534c
--- /dev/null
+++ b/unified-kernel-image-backup.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Save a backup of the currently-booted unified kernel image
+DefaultDependencies=no
+Requires=boot-complete.target
+After=local-fs.target boot-complete.target
+Conflicts=shutdown.target
+Before=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/libexec/unified-kernel-image-hooks/unified-kernel-image-backup.sh
+
+[Install]
+WantedBy=basic.target