Fixed formatting issues
@@ -2,7 +2,7 @@ These steps are presented as guidelines. Your results may vary, depending on ope
|
|||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
Interactive
|
Interactive
|
||||||
This will start PlexPy when you login to Windows without the command prompt.
|
This will start PlexPy when you login to Windows without the command prompt.
|
||||||
|
|
||||||
* Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown`
|
* Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown`
|
||||||
@@ -11,11 +11,10 @@ This will start PlexPy when you login to Windows without the command prompt.
|
|||||||
* Start in: `C:\Python27`
|
* Start in: `C:\Python27`
|
||||||
* Start PlexPy with the shortcut
|
* Start PlexPy with the shortcut
|
||||||
|
|
||||||
Non Interactive
|
Non Interactive
|
||||||
Command File
|
Command File
|
||||||
Create the following command file named (C:\PlexPy\PlexPy.CMD):
|
Create the following command file named (C:\PlexPy\PlexPy.CMD):
|
||||||
Start C:\Python27\pythonw.exe C:\PlexPy\PlexPy.py
|
Start C:\Python27\pythonw.exe C:\PlexPy\PlexPy.py
|
||||||
|
|
||||||
Open Task Scheduler (%windir%\system32\taskschd.msc) and create the following Task:
|
Open Task Scheduler (%windir%\system32\taskschd.msc) and create the following Task:
|
||||||
* Name = PlexPy
|
* Name = PlexPy
|
||||||
* Run As = Administrator
|
* Run As = Administrator
|
||||||
@@ -32,12 +31,14 @@ Settings
|
|||||||
* If the task fails, restart every = True (1 Minute)
|
* If the task fails, restart every = True (1 Minute)
|
||||||
* Attempt to restart up to = 3 Times
|
* Attempt to restart up to = 3 Times
|
||||||
* If the running task does not end when requested, force it to stop = True
|
* If the running task does not end when requested, force it to stop = True
|
||||||
* If the task is already running, then the following rule applies = Do not start a new instance.
|
* If the task is already running, then the following rule applies = Do not start a new instance.
|
||||||
You should always see the Task result The operation completed successfully (0x0) and should never be in a infinite Running state.
|
|
||||||
When you check the task manager you should see a pythonw (32 bit) background process running.
|
You should always see the Task result The operation completed successfully (0x0) and should never be in a infinite Running state.
|
||||||
If the process stopped unexpectedly you are able to restart it remotely with PowerShell command:
|
When you check the task manager you should see a pythonw (32 bit) background process running.
|
||||||
(Test PS Remoting by using this command; Test-WSMan -ComputerName PlexPyServer)
|
If the process stopped unexpectedly you are able to restart it remotely with PowerShell command:
|
||||||
|
(Test PS Remoting by using this command; Test-WSMan -ComputerName PlexPyServer)
|
||||||
Invoke-Command -ComputerName PlexPyServer -Credential Administrator -ScriptBlock {start-ScheduledTask -TaskName PlexPy}
|
Invoke-Command -ComputerName PlexPyServer -Credential Administrator -ScriptBlock {start-ScheduledTask -TaskName PlexPy}
|
||||||
|
|
||||||
## Ubuntu
|
## Ubuntu
|
||||||
This installation assumes PlexPy is installed to `/opt/plexpy`. Make sure all paths are correct and accessible. A common mistake is that a daemon user has no read and/or write permissions.
|
This installation assumes PlexPy is installed to `/opt/plexpy`. Make sure all paths are correct and accessible. A common mistake is that a daemon user has no read and/or write permissions.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user