mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-18 16:02:59 +01:00
fix(plex): restart service after update to apply new version
After apt install updates the plexmediaserver package, the running service needs an explicit restart so the new version is loaded. Without this, users see the update succeed but Plex still shows the old version in the web interface. Ref #12993
This commit is contained in:
@@ -79,6 +79,11 @@ function update_script() {
|
||||
$STD apt update
|
||||
$STD apt install -y plexmediaserver
|
||||
msg_ok "Updated Plex Media Server"
|
||||
|
||||
msg_info "Restarting Plex Media Server"
|
||||
systemctl restart plexmediaserver
|
||||
msg_ok "Restarted Plex Media Server"
|
||||
|
||||
msg_ok "Updated successfully!"
|
||||
exit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user