aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/pacman-offline-prepare.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/pacman-offline-prepare.service b/systemd/pacman-offline-prepare.service
index b5f5ef1..3df9685 100644
--- a/systemd/pacman-offline-prepare.service
+++ b/systemd/pacman-offline-prepare.service
@@ -5,6 +5,7 @@ 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