WinSW: Difference between revisions
Jump to navigation
Jump to search
Line 124: | Line 124: | ||
* [https://yajsw.sourceforge.io/ Yet Another Java Service Wrapper (<code>yajsw</code>)] | * [https://yajsw.sourceforge.io/ Yet Another Java Service Wrapper (<code>yajsw</code>)] | ||
* [https://github.com/minio/minio-service/tree/master/windows Running MinIO as a service on Windows] | * [https://github.com/minio/minio-service/tree/master/windows Running MinIO as a service on Windows] | ||
* [https://github.com/jenkinsci/winsw-maven-packaging WinSW » Maven Packaging] | |||
* [https://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/ WinSW » Binary] | |||
* [https://www.nuget.org/packages/WinSW/ WinSW » NuGet] | |||
* [[OpenVPN]] | * [[OpenVPN]] | ||
Revision as of 04:30, 30 March 2023
%CHORKE_ACADEMIA_HOME%\ ├─ chorke-academia-daemon.copies ├─ chorke-academia-daemon.exe ├─ chorke-academia-daemon.xml ├─ chorke-academia-daemon.jar ├─ service-uninstall.bat ├─ service-install.bat ├─ README.md ├─ start.bat └─ stop.bat
Service Config
<service>
<id>chorke_academia_service</id>
<name>Chorke Academia Service</name>
<description>Chorke Academia Service. Developed by Chorke Inc.</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>
Batch Scripts
chorke-academia-daemon.exe uninstall
chorke-academia-daemon.exe install
|
chorke-academia-daemon.exe start
chorke-academia-daemon.exe stop
|
| |
chorke-academia-daemon.exe refresh
chorke-academia-daemon.exe restart
chorke-academia-daemon.exe status
|
chorke-academia-daemon.exe dev kill
chorke-academia-daemon.exe dev list
chorke-academia-daemon.exe dev ps
|
Install Service |
Uninstall Service |
| |
chorke-academia-daemon.exe install
chorke-academia-daemon.exe start
|
chorke-academia-daemon.exe stop
chorke-academia-daemon.exe uninstall
|
Start Service |
Stop Service |
| |
chorke-academia-daemon.exe start
|
chorke-academia-daemon.exe stop
|
References
| ||