# (C) 2017-2024 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 # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. [Unit] Description=Offline system update with pacman ConditionPathIsSymbolicLink=/system-update DefaultDependencies=false Requires=sysinit.target dbus.socket After=sysinit.target dbus.socket Before=shutdown.target system-update.target OnFailure=reboot.target [Service] Type=oneshot StandardOutput=tty StandardError=tty ExecStartPre=-/usr/bin/plymouth change-mode --updates ExecStartPre=-/usr/bin/plymouth system-update --progress=20 ExecStart=/usr/lib/systemd/scripts/pacman-offline