mirror of
https://github.com/acedanger/shell.git
synced 2026-03-25 02:01:51 -07:00
Add comprehensive Plex backup management scripts
- Introduced `restore-plex.sh` for restoring Plex backups with logging and validation. - Created `test-plex-backup.sh` for automated testing of backup functionalities. - Developed `validate-plex-backups.sh` for validating backup integrity and monitoring. - Updated `update.sh` to reference the correct path for Plex service management.
This commit is contained in:
@@ -31,7 +31,7 @@ echo -e "${GREEN}Using package manager: $PKG_MANAGER${NC}"
|
||||
|
||||
# checks if the plexmediaserver.service is defined on this machine. stop it if it is.
|
||||
if systemctl is-active --quiet plexmediaserver.service 2>/dev/null; then
|
||||
sudo /home/acedanger/shell/plex.sh stop
|
||||
sudo /home/acedanger/shell/plex/plex.sh stop
|
||||
fi
|
||||
|
||||
omz_upgrade_script=~/.oh-my-zsh/tools/upgrade.sh
|
||||
@@ -63,5 +63,5 @@ esac
|
||||
|
||||
# checks if the plexmediaserver.service is defined on this machine. start it if it is.
|
||||
if systemctl is-enabled --quiet plexmediaserver.service 2>/dev/null; then
|
||||
sudo /home/acedanger/shell/plex.sh start
|
||||
sudo /home/acedanger/shell/plex/plex.sh start
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user