mirror of
https://github.com/acedanger/shell.git
synced 2025-12-05 22:50:18 -08:00
fix: update update.sh to use custom plex script for stopping and starting the service
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user