scale-catalog/update/plex.sh

8 lines
354 B
Bash
Raw Normal View History

2020-02-27 18:58:24 +00:00
iocage exec plex service plexmediaserver_plexpass stop
2020-02-27 19:06:16 +00:00
iocage update plex
2020-02-27 19:16:19 +00:00
iocage exec plex "pkg update && pkg upgrade -y"
2020-02-27 18:58:24 +00:00
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver-plexpass/
iocage exec plex service plexmediaserver_plexpass restart
2020-02-27 18:58:24 +00:00
sleep 10s
iocage exec plex service plexmediaserver_plexpass start
echo "Finished updating plex"