diff options
author | Christian Hesse <mail@eworm.de> | 2022-09-26 13:27:18 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-01-03 00:15:04 +0100 |
commit | ea7d79d59dda2652753c1a3b667f5351fb0b61cd (patch) | |
tree | 55b56ae5834fe76cf0c0950ed3c1ac4bbe366621 /libalpm | |
parent | 75cd3e974c3b43d38aa0bb9aea3254b7c0054a23 (diff) | |
download | pacredir-ea7d79d59dda2652753c1a3b667f5351fb0b61cd.tar.gz pacredir-ea7d79d59dda2652753c1a3b667f5351fb0b61cd.tar.zst |
add libalpm hook to restart on upgradetry-restart
There's no final solution for the server error limit issue 🥴 - so not sure
if adopting new (possible) solutions is required...
Diffstat (limited to 'libalpm')
-rw-r--r-- | libalpm/80-pacredir.hook | 9 |
1 files changed, 9 insertions, 0 deletions
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 |