Add hook that can be used to automate restarts and maybe fixed detached head.

This commit is contained in:
Donald Webster
2019-11-28 07:25:38 -08:00
parent 36d8ad329d
commit a04cf7e307
3 changed files with 18 additions and 2 deletions
+11
View File
@@ -0,0 +1,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 restart plexmediaserver.service