diff options
author | Christian Hesse <mail@eworm.de> | 2023-07-23 21:33:35 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-07-26 23:01:41 +0200 |
commit | f03503b19950fa3574b43385c465c837e087682c (patch) | |
tree | a3238e27eac01fffa6e92c93d0ecdf355d72fcb9 /systemd/pacman-offline.service | |
parent | 299053a8d715743fb5a3e41f6cff23a42eb2b431 (diff) | |
download | pacman-offline-f03503b19950fa3574b43385c465c837e087682c.tar.gz pacman-offline-f03503b19950fa3574b43385c465c837e087682c.tar.zst |
add basic support for plymouth
I could speard the commands in the script, but this would be of little
use only... Most of execution time is consumed by pacman anyway. So
let's just change the mode and give an initial progress in service.
Fixes GH-2
Diffstat (limited to 'systemd/pacman-offline.service')
-rw-r--r-- | systemd/pacman-offline.service | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/pacman-offline.service b/systemd/pacman-offline.service index 01ce462..bd8ee49 100644 --- a/systemd/pacman-offline.service +++ b/systemd/pacman-offline.service @@ -11,4 +11,6 @@ OnFailure=reboot.target 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 |