summarylogtreecommitdiffstats
path: root/plexmediaserver.hook
blob: 6a562254a51d166248b3fc783caa974181528034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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]
Description = Restarting Plex Media Server...
When = PostTransaction
Exec = /usr/bin/systemctl try-restart plexmediaserver.service