WinSW: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
==Config== | |||
<source lang="xml"> | |||
<service> | |||
<id>chorke_academia_service</id> | |||
<name>Chorke Academia Service</name> | |||
<description>This service runs Chorke Academia</description> | |||
<env name="JAVA_HOME" value="C:\Program Files\Java\jdk-17.0.6"/> | |||
<env name="Path" value="%JAVA_HOME%\bin;%Path%"/> | |||
<env name="CHORKE_LOG_FILE" value="chorke-academia-daemon"/> | |||
<env name="CHORKE_ACADEMIA_HOME" value="%BASE%"/> | |||
<env name="CHORKE_LOG_DIR" value="%BASE%\logs"/> | |||
<executable>java</executable> | |||
<arguments>-Xrs -Xmx256m -jar "%CHORKE_ACADEMIA_HOME%\chorke-academia-daemon.jar" --server.port=1983</arguments> | |||
<logpath>%CHORKE_LOG_DIR%\logs</logpath> | |||
<log mode="roll-by-time"> | |||
<pattern>yyyyMMdd</pattern> | |||
</log> | |||
</service> | |||
</source> | |||
==References== | ==References== | ||
{| | {| |
Revision as of 02:52, 30 March 2023
Config
<service>
<id>chorke_academia_service</id>
<name>Chorke Academia Service</name>
<description>This service runs Chorke Academia</description>
<env name="JAVA_HOME" value="C:\Program Files\Java\jdk-17.0.6"/>
<env name="Path" value="%JAVA_HOME%\bin;%Path%"/>
<env name="CHORKE_LOG_FILE" value="chorke-academia-daemon"/>
<env name="CHORKE_ACADEMIA_HOME" value="%BASE%"/>
<env name="CHORKE_LOG_DIR" value="%BASE%\logs"/>
<executable>java</executable>
<arguments>-Xrs -Xmx256m -jar "%CHORKE_ACADEMIA_HOME%\chorke-academia-daemon.jar" --server.port=1983</arguments>
<logpath>%CHORKE_LOG_DIR%\logs</logpath>
<log mode="roll-by-time">
<pattern>yyyyMMdd</pattern>
</log>
</service>
References
| ||