aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/pacman-offline-prepare.service
blob: 0fec6e144d5497be780011a85f65686423025b09 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# (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=Prepare pacman offline system-update
ConditionPathExists=!/var/lib/pacman/db.lck

[Service]
Type=oneshot
ExecStart=/usr/bin/pacman-offline -y
KillSignal=SIGINT
ProtectSystem=on
ProtectHome=on
PrivateDevices=on
NoNewPrivileges=on