I finally got around to figuring out how to get plexpy to start automatically after a reboot.
This should have been easy with the "docker update --restart=always " command, but the version of Docker installed is old and doesn’t have that command. Instead, you need to edit the option manually.
- Log into your mycloud with Putty or another SSH client (log in as root)
cd /var/lib/docker/containers/docker ps -a- Find the container id for linuxserver/plexpy
- Change directories to the folder that starts with the container id.
- Edit hostconfig.json with VI and change:
“RestartPolicy”:{“Name”:“no”,
to
“RestartPolicy”:{“Name”:“always”,
The system has VI installed, which you can use to edit the file.
vi hostconfig.jason-
ito enter text insert mode - change the text
-
to exit insert mode -
:wqto save and exit