mirror of
https://aur.archlinux.org/plex-media-server-plexpass.git
synced 2025-11-20 06:28:29 +00:00
Add hook that can be used to automate restarts and maybe fixed detached head.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user