aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/pacman-offline2
-rw-r--r--systemd/pacman-offline-reboot.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline
index a8fddf5..57024f0 100755
--- a/bin/pacman-offline
+++ b/bin/pacman-offline
@@ -78,7 +78,7 @@ ln -sf /var/cache/pacman/pkg /system-update
# reboot if requested
if [ ${REBOOT} -eq 1 ]; then
- systemctl reboot
+ systemctl soft-reboot
# start timer if requested
elif [ ${TIMER} -eq 1 ]; then
systemctl start pacman-offline-reboot.timer
diff --git a/systemd/pacman-offline-reboot.service b/systemd/pacman-offline-reboot.service
index bb7a44f..7026061 100644
--- a/systemd/pacman-offline-reboot.service
+++ b/systemd/pacman-offline-reboot.service
@@ -4,4 +4,4 @@ ConditionPathExists=/system-update
[Service]
Type=oneshot
-ExecStart=/usr/bin/systemctl reboot
+ExecStart=/usr/bin/systemctl soft-reboot