Skip to content

Commit

Permalink
Update cron.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
luluhoc authored Nov 22, 2018
1 parent 9ac5284 commit 9c4b88e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}

Expand Down

0 comments on commit 9c4b88e

Please sign in to comment.