Run PhotonServer in foreground mode
Options
selfsx
✭
Hello.
Is there any way to start photon server from CLI in foreground mode? For example, something like this:
Is there any way to start photon server from CLI in foreground mode? For example, something like this:
./PhotonSocketServer.exe /run /foreground LoadBalancing
0
Comments
-
We're launching our photon instances inside Docker containers. The thing is: Photon should be the only process that works in foreground so I can simply launch photon container in daemon mode (see example of any container e.g. nginx). Right now, it is not possible. I launch photon instance, wait till it starts and start another process to hang container (in my casechvetsov said:hi, @selfsx
there is no such switch for PhotonSocketServer.exe.
I should admit that I'm not sure what do you mean by 'foreground' and why do you need this
best,
ilyaGet-Content /path/to/pluginlogs -Wait
). So, if photon process fails for some reason container don't. And monitoring system can't simply restart failed container.0