Docker request


ashman70

Recommended Posts

Perhaps this has been requested before or the ability to do it exists already and I am just unaware.

 

My large unRAID server that has thirty drives with two 8TB parity drives, takes from between 44 and 55hrs to do a parity check every month, during this time my plex users are pretty much unable to use plex. Is it possible to have the plex docker automatically shut down when a parity check starts?

 

Thanks

Link to comment
42 minutes ago, ashman70 said:

Perhaps this has been requested before or the ability to do it exists already and I am just unaware.

 

My large unRAID server that has thirty drives with two 8TB parity drives, takes from between 44 and 55hrs to do a parity check every month, during this time my plex users are pretty much unable to use plex. Is it possible to have the plex docker automatically shut down when a parity check starts?

 

Thanks

With the user scripts plugin

 

Your scripts for the above will be

 

docker stop plex

 

docker start plex

Link to comment

Your going to add the linked script as a script to the user scripts plugin (probably set to run at first array start)

 

Modify the script and change the two lines that say "full path to..." to the two scripts that your're going to save somewhere on the flash drive.  The two scripts will be 

docker stop plex

and

docker start plex

(or whatever your plex container is actually called)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.