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.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemd/pacman-offline-reboot.service b/systemd/pacman-offline-reboot.service
index 26dca94..c131d70 100644
--- a/systemd/pacman-offline-reboot.service
+++ b/systemd/pacman-offline-reboot.service
@@ -6,9 +6,9 @@
# (at your option) any later version.
[Unit]
-Description=Reboot for pacman offline system-update
+Description=Soft-reboot for pacman offline system-update
ConditionPathExists=/system-update
[Service]
Type=oneshot
-ExecStart=/bin/sh -c "if systemctl --dry-run soft-reboot 2>/dev/null; then systemctl soft-reboot; else systemctl reboot; fi"
+ExecStart=/usr/bin/systemctl soft-reboot