Rewrite as Windows Wi-Fi monitor service
This commit is contained in:
17
winsw/osu-wifi-login.xml
Normal file
17
winsw/osu-wifi-login.xml
Normal 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>
|
||||
Reference in New Issue
Block a user