blob: 3202fe8f7dbeae9a4219e5dc458824aefb1f9d4b (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# (C) 2017-2023 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
|