From ea7d79d59dda2652753c1a3b667f5351fb0b61cd Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 26 Sep 2022 13:27:18 +0200 Subject: add libalpm hook to restart on upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's no final solution for the server error limit issue 🥴 - so not sure if adopting new (possible) solutions is required... --- libalpm/80-pacredir.hook | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 libalpm/80-pacredir.hook (limited to 'libalpm/80-pacredir.hook') diff --git a/libalpm/80-pacredir.hook b/libalpm/80-pacredir.hook new file mode 100644 index 0000000..14eb4f3 --- /dev/null +++ b/libalpm/80-pacredir.hook @@ -0,0 +1,9 @@ +[Trigger] +Operation = Upgrade +Type = Package +Target = pacredir + +[Action] +Description = Restarting pacredir... +When = PostTransaction +Exec = /usr/bin/systemctl try-restart pacredir.service -- cgit v1.2.3-54-g00ecf