Windows service support
Closed this issue · 1 comments
spitfire05 commented
Portproxy should support running as win service. Possibly with baked-in automated service installation.
This would need a change in how we search for a config file. Default ~/.config/portproxy.toml
or PORTPROXY_CONFIG
env var would not b a best choice for a win service, therefore the current proposal is to search config in following order (first found "wins"):
- Value of
$PORTPROXY_CONFIG
if set ./portproxy.toml
/./config.toml
relative to exe dir.~/.config/portproxy.toml
spitfire05 commented
The actual win service functionality can be achieved by using a 3rd party wrapper like Shawl