summarylogtreecommitdiffstats
path: root/audiobookshelf.hook
blob: f74d1e9421bfa6f0d80900ad7a83b6fa33860363 (plain)
1
2
3
4
5
6
7
8
9
10
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