<service>
    <id>EpicOnlineServices</id>
    <name>Epic Online Services</name>
    <description>Runs background processes for applications using Epic Games services</description>
    <workingdirectory>C:\Program Files (x86)\Epic Games\Epic Online Services</workingdirectory>
    <executable>C:\Program Files (x86)\Epic Games\Epic Online Services\EpicOnlineServices.exe</executable>
    <argument>--lite-mode</argument>
    <argument>--optimize_for_size</argument>
    <argument>--max_old_space_size=128</argument>
    <env name="DEBUG" value="*" />
    <allowunprivilegedstartstop>true</allowunprivilegedstartstop>
    <allowstartargs>true</allowstartargs>
    <allowrepeatedinstalls>true</allowrepeatedinstalls>
    <stopparentprocessfirst>true</stopparentprocessfirst>
    <stoptimeout>70sec</stoptimeout>
    <startmode>Manual</startmode>
    <onfailure action="none" />
    <logpath>C:\ProgramData\Epic\EpicOnlineServices\MainService\Logs</logpath>
    <log mode="roll-by-size">
         <sizeThreshold>5120</sizeThreshold>
         <keepFiles>4</keepFiles>
    </log>
</service>