Rewrite as Windows Wi-Fi monitor service

This commit is contained in:
2026-04-24 10:44:28 -04:00
parent 955e636d5f
commit 18cc9b6bab
15 changed files with 2190 additions and 539 deletions

17
winsw/osu-wifi-login.xml Normal file
View File

@@ -0,0 +1,17 @@
<service>
<id>osu-wifi-login</id>
<name>OSU Wi-Fi Login Service</name>
<description>Keeps WiFi@OSU or eduroam connected on Windows and logs into the captive portal when needed.</description>
<executable>%BASE%\osu-wifi-login.exe</executable>
<arguments>--config "%BASE%\config.yaml"</arguments>
<workingdirectory>%BASE%</workingdirectory>
<log mode="roll-by-size">
<sizeThreshold>1048576</sizeThreshold>
<keepFiles>8</keepFiles>
</log>
<onfailure action="restart" delay="10 sec" />
<stoptimeout>30 sec</stoptimeout>
</service>