fix: update update.sh to use custom plex script for stopping and starting the service

This commit is contained in:
Peter Wood
2025-03-05 09:39:26 -05:00
parent 4fc7c00a0d
commit ecac77e1e5

View File

@@ -2,7 +2,7 @@
# checks if the plexmediaserver.service is defined on this machine. stop it if it is.
if systemctl is-active --quiet plexmediaserver.service; then
sudo plex stop
sudo /home/acedanger/shell/plex.sh stop
fi
sudo nala update
@@ -10,5 +10,5 @@ sudo nala upgrade -y
# checks if the plexmediaserver.service is defined on this machine. start it if it is.
if systemctl is-enabled --quiet plexmediaserver.service; then
sudo plex start
sudo /home/acedanger/shell/plex.sh start
fi