From 52d2d0d1955f87155fefd8c3e46b93d010909af0 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 31 Oct 2019 10:56:39 +0100 Subject: add timer for reboot --- systemd/pacman-offline-reboot.service | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 systemd/pacman-offline-reboot.service (limited to 'systemd/pacman-offline-reboot.service') 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 -- cgit v1.2.3-70-g09d2