add start stop after timeout
This commit is contained in:
parent
0262cc4449
commit
58193ec3ae
11
plex.sh
11
plex.sh
@ -16,7 +16,10 @@ iocage exec plex pkg update -y
|
|||||||
iocage exec plex pkg upgrade -y
|
iocage exec plex pkg upgrade -y
|
||||||
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver-plexpass/
|
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver-plexpass/
|
||||||
iocage exec plex service plexmediaserver_plexpass start
|
iocage exec plex service plexmediaserver_plexpass start
|
||||||
sleep 20s
|
sleep 10s
|
||||||
echo "Waiting 20s to start"
|
echo "Waiting 20s to stop plex"
|
||||||
iocage exec plex service plexmediaserver_plexpass start
|
iocage stop plex
|
||||||
iocage exec plex service plexmediaserver_plexpass status
|
sleep 10s
|
||||||
|
echo "Waiting 20s to start plex"
|
||||||
|
iocage start plex
|
||||||
|
echo "Finished installing plex"
|
Loading…
Reference in New Issue
Block a user