From 9c4b88e90a45d1cf07c21fab851bfe428fca29a3 Mon Sep 17 00:00:00 2001 From: LULU Date: Thu, 22 Nov 2018 01:39:12 +0100 Subject: [PATCH] Update cron.sh --- cron.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron.sh b/cron.sh index 8795ae9..38a3f65 100644 --- a/cron.sh +++ b/cron.sh @@ -178,7 +178,7 @@ applyUpdate() rm -rf $PMSPARENTPATH/$PMSBAKFOLDER 2>&1 | LogMsg echo Done. | LogMsg -f echo Stopping Plex Media Server .....| LogMsg -n - service plexmediaserver stop 2>&1 | LogMsg + iocage exec plex service plexmediaserver stop 2>&1 | LogMsg echo Done. | LogMsg -f echo Moving current Plex Media Server to backup location .....| LogMsg -n mv $PMSPARENTPATH/$PMSLIVEFOLDER/ $PMSPARENTPATH/$PMSBAKFOLDER/ 2>&1 | LogMsg @@ -196,7 +196,7 @@ applyUpdate() ln -s $PMSPARENTPATH/$PMSLIVEFOLDER/Plex\ Media\ Server $PMSPARENTPATH/$PMSLIVEFOLDER/Plex_Media_Server 2>&1 | LogMsg ln -s $PMSPARENTPATH/$PMSLIVEFOLDER/libpython2.7.so.1 $PMSPARENTPATH/$PMSLIVEFOLDER/libpython2.7.so 2>&1 | LogMsg echo Starting Plex Media Server .....| LogMsg -n - service plexmediaserver start + iocage exec plex service plexmediaserver start echo Done. | LogMsg -f }