summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-10-16 08:34:51 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-10-16 08:34:51 +0200
commitb7fdcdb1108cd43f71d25bec16a078af301b6f72 (patch)
tree8873640144b398f1e43c77ed8931c7c651824832
parentcbb38be5e8b0701a2cd3f98f98882d84c0bb0bc0 (diff)
downloadpacman-offline-b7fdcdb1108cd43f71d25bec16a078af301b6f72.tar.gz
pacman-offline-b7fdcdb1108cd43f71d25bec16a078af301b6f72.tar.zst
kill with SIGINT and make pacman clean up itself
-rw-r--r--systemd/pacman-offline-prepare.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/pacman-offline-prepare.service b/systemd/pacman-offline-prepare.service
index 3df9685..0e12383 100644
--- a/systemd/pacman-offline-prepare.service
+++ b/systemd/pacman-offline-prepare.service
@@ -5,7 +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
+KillSignal=SIGINT
ProtectSystem=on
ProtectHome=on
PrivateDevices=on