summaryrefslogtreecommitdiffstats
path: root/systemd/pacman-offline-reboot.timer
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-10-31 10:56:39 +0100
committerGravatar Christian Hesse <mail@eworm.de>2019-10-31 10:56:39 +0100
commit52d2d0d1955f87155fefd8c3e46b93d010909af0 (patch)
tree3b1fc1b70d3d9f881b0f0cd68312c96169fb477b /systemd/pacman-offline-reboot.timer
parent784880bd7d9c043df7ce281b4ecb8e145a60a80f (diff)
downloadpacman-offline-52d2d0d1955f87155fefd8c3e46b93d010909af0.tar.gz
pacman-offline-52d2d0d1955f87155fefd8c3e46b93d010909af0.tar.zst
add timer for reboot
Diffstat (limited to 'systemd/pacman-offline-reboot.timer')
-rw-r--r--systemd/pacman-offline-reboot.timer10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/pacman-offline-reboot.timer b/systemd/pacman-offline-reboot.timer
new file mode 100644
index 0000000..b958b84
--- /dev/null
+++ b/systemd/pacman-offline-reboot.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Reboot for pacman offline system-update
+ConditionPathExists=/system-update
+
+[Timer]
+OnCalendar=03:00:00
+RandomizedDelaySec=2hours
+
+[Install]
+WantedBy=timers.target