diff options
author | Christian Hesse <mail@eworm.de> | 2017-10-16 08:34:51 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-10-16 08:34:51 +0200 |
commit | b7fdcdb1108cd43f71d25bec16a078af301b6f72 (patch) | |
tree | 8873640144b398f1e43c77ed8931c7c651824832 | |
parent | cbb38be5e8b0701a2cd3f98f98882d84c0bb0bc0 (diff) | |
download | pacman-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.service | 2 |
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 |