Mythtv Backend in Docker. Trouble with starting service.
by jmgibson1981 from LinuxQuestions.org on (#5C1TS)
Got it into a Docker, mostly. One problem is remaining though.
When the container starts and runs my entrypoint.sh it does everything except start the myth backend itself. All configuration, and the other services are started properly. If I enter the container to run the command manually.
Code:service mythtv-backend startIt tells me the it's already running. If I try to stop it it says there is no process. It also isn't showing up on the top command inside the container. If I run
Code:service mythtv-backend restartIt first complains that the service isn't running. Then it starts and away it goes like it's supposed to.
I'm probably not doing my entrypoint correctly. Here are my entrypoint & Dockerfile. Posting via ubuntupaste. I'm sure my service && bash is the wrong way to do it. It's worked on my other services thus far. I added that sleep thinking maybe it just needed to wait till the sql was fully running or something.
Dockerfile - https://paste.ubuntu.com/p/mpCnV3dBMv/
Entrypoint - https://paste.ubuntu.com/p/jDDSNFStCZ/
I'd appreciate any suggestions.


When the container starts and runs my entrypoint.sh it does everything except start the myth backend itself. All configuration, and the other services are started properly. If I enter the container to run the command manually.
Code:service mythtv-backend startIt tells me the it's already running. If I try to stop it it says there is no process. It also isn't showing up on the top command inside the container. If I run
Code:service mythtv-backend restartIt first complains that the service isn't running. Then it starts and away it goes like it's supposed to.
I'm probably not doing my entrypoint correctly. Here are my entrypoint & Dockerfile. Posting via ubuntupaste. I'm sure my service && bash is the wrong way to do it. It's worked on my other services thus far. I added that sleep thinking maybe it just needed to wait till the sql was fully running or something.
Dockerfile - https://paste.ubuntu.com/p/mpCnV3dBMv/
Entrypoint - https://paste.ubuntu.com/p/jDDSNFStCZ/
I'd appreciate any suggestions.