audiobookshelf/audiobookshelf.hook
2024-02-24 17:28:27 +09:00

12 lines
319 B
Plaintext

# 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