summarylogtreecommitdiffstats
path: root/plexmediaserver.hook
blob: 3dc6aab504af69ce83c5f835d075f330f5f26332 (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 plex is updated.

[Trigger]
Operation = Upgrade
Type = Package
Target = plex-media-server-plexpass
Target = plex-media-server

[Action]
When = PostTransaction
Exec = /usr/bin/systemctl try-restart plexmediaserver.service