diff options
Diffstat (limited to 'audiobookshelf.hook')
-rw-r--r-- | audiobookshelf.hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audiobookshelf.hook b/audiobookshelf.hook new file mode 100644 index 000000000000..f74d1e9421bf --- /dev/null +++ b/audiobookshelf.hook @@ -0,0 +1,11 @@ +# Copy, move or symlink this file in /etc/pacman.d/hooks to force a restart when audiobookshelf is updated. + +[Trigger] +Operation = Upgrade +Type = Package +Target = audiobookshelf-git + +[Action] +Description = Restarting audiobookshelf... +When = PostTransaction +Exec = /usr/bin/systemctl try-restart audiobookshelf.service |