From b7fdcdb1108cd43f71d25bec16a078af301b6f72 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 16 Oct 2017 08:34:51 +0200 Subject: kill with SIGINT and make pacman clean up itself --- systemd/pacman-offline-prepare.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2