summaryrefslogtreecommitdiffstats
path: root/systemd/pacman-offline-prepare.service
blob: 3df968583b9922d02f4281d335721a63f5c0236c (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Prepare pacman offline system-update
ConditionPathExists=!/var/lib/pacman/db.lck

[Service]
Type=oneshot
ExecStart=/usr/bin/pacman-offline -y
ExecStopPost=/usr/bin/rm -f /var/lib/pacman/db.lck
ProtectSystem=on
ProtectHome=on
PrivateDevices=on
NoNewPrivileges=on