Registering Services on Windows using NSSM
8/12/25Less than 1 minute
1. Install NSSM
Download NSSM: https://nssm.cc/download
2. Register Services
# Register rclone mount as a service
nssm install RcloneMount D:\rclone-v1.70.3-windows-amd64\rclone mount minio:back-bucket Y:\ --links --vfs-cache-mode writes
# Start the service
nssm start RcloneMount
# Register GeoServer as a service
nssm install GeoServer D:\geoserver-2.18.2\bin\start.bat
# Start the service
nssm start GeoServer # Note: Copy an instance of nssm to the geoserver directory when using this3. Add Dependencies to Services
Add a dependency: nssm set <Service Name> DependOnService <Dependency Service Name>
nssm.exe set GeoServer DependOnService RcloneMountAI Translation | AI 翻译
This article was translated from Chinese to English by AI. If there are any inaccuracies, please refer to the original Chinese version.
本文由 AI 辅助从中文翻译为英文。如遇不准确之处,请以中文原版为准。
