diff options
Diffstat (limited to 'systemd/pacman-offline.service')
-rw-r--r-- | systemd/pacman-offline.service | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/systemd/pacman-offline.service b/systemd/pacman-offline.service index 516acae..9ce6639 100644 --- a/systemd/pacman-offline.service +++ b/systemd/pacman-offline.service @@ -1,4 +1,4 @@ -# (C) 2017-2024 by Christian Hesse <mail@eworm.de> +# (C) 2017-2025 by Christian Hesse <mail@eworm.de> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -7,17 +7,23 @@ [Unit] Description=Offline system update with pacman +Documentation=https://pacman-offline.eworm.de/ ConditionPathIsSymbolicLink=/system-update DefaultDependencies=false Requires=sysinit.target dbus.socket -After=sysinit.target dbus.socket -Before=shutdown.target system-update.target -OnFailure=reboot.target +Wants=pacman-offline-done-poweroff.service pacman-offline-done-reboot.service +After=sysinit.target system-update-pre.target dbus.socket +Before=pacman-offline-done-poweroff.service pacman-offline-done-reboot.service system-update.target +OnFailure=pacman-offline-failure.target [Service] Type=oneshot +# Pretty print to tty... StandardOutput=tty StandardError=tty +# ... or use this for debugging - less pretty, but with output in journal. +#StandardOutput=journal+console +#StandardError=journal+console ExecStartPre=-/usr/bin/plymouth change-mode --updates ExecStartPre=-/usr/bin/plymouth system-update --progress=20 ExecStart=/usr/lib/systemd/scripts/pacman-offline |