@rbull said in Run the Gateway in the background:
Hey all, do you know how you can run the gateway program in the background and start automatically on a windows restart?
So complete instructions are here :
https://monoclecam.com/monocle-gateway/install/windows
See the section about running it as a service.
When had it running on my Win machine, I didn’t bother running it as a service, I added it to the start menu, so it would run on boot up. I’m an idiot and just wanted access to the session window all the time and had bat files to stop and restart it w/o going to the cmd line. Once covid hit, and everyone working from home we had a lot of losses of the internet, and it was simplier to see when it was down, and stop and restart it, the way I was set up.
Now I’m running it on a headless RPi, and access it with VNC viewer as I wish.
I have the RPi restart each night, and it just seems more robust on the RPi than it was on my Win7 machine/workstation that was very busy all day long.