Skip to content

Commit 3db4ac1

Browse files
authored
Plex: restart service after update to apply new version (#13017)
1 parent 16dfad5 commit 3db4ac1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ct/plex.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ function update_script() {
7979
$STD apt update
8080
$STD apt install -y plexmediaserver
8181
msg_ok "Updated Plex Media Server"
82+
83+
msg_info "Restarting Plex Media Server"
84+
systemctl restart plexmediaserver
85+
msg_ok "Restarted Plex Media Server"
86+
8287
msg_ok "Updated successfully!"
8388
exit
8489
}

0 commit comments

Comments
 (0)