summaryrefslogtreecommitdiffstats
path: root/systemd/pacman-offline-reboot.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/pacman-offline-reboot.service')
-rw-r--r--systemd/pacman-offline-reboot.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/systemd/pacman-offline-reboot.service b/systemd/pacman-offline-reboot.service
new file mode 100644
index 0000000..bb7a44f
--- /dev/null
+++ b/systemd/pacman-offline-reboot.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Reboot for pacman offline system-update
+ConditionPathExists=/system-update
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/systemctl reboot