Closed tobiasmcnulty closed 5 years ago
@tobiasmcnulty I added a --run-as USER[:GROUP]
option and made exiting immediately the default when not run with --daemon
. Let me know if this works for you.
@jaysoffian Much better and confirming that works -- thanks!
I wanted the ability to drop root privileges after opening the sockets. This assumes one can run
eap_proxy.py
via an external service like supervisord that supports restarting in the event the program exits.This PR adds a couple options to support this use case.
Sample supervisord config (place in /etc/supervisor/conf.d/eap_proxy.conf):