-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Milestone
Description
Nginx was successfully registered as the Window service according to the documentation.But when I open task manager, two nginx.exes exist in the background process.
I don't know if this is normal, or what's missing in the XML file.
nginx.xml
<service>
<id>nginx</id>
<name>nginx</name>
<description>nginx</description>
<logpath>D:\deploy\nginx-1.18.0\servicelogs</logpath>
<log mode='roll-by-time'>
<pattern>yyyyMMdd</pattern>
</log>
<depend></depend>
<executable>D:\deploy\nginx-1.18.0\nginx.exe</executable>
<stopexecutable>D:\deploy\nginx-1.18.0\nginx.exe -s stop</stopexecutable>
</service>
Does calling nginx_service.exe stop directly kill the process starting the service? This is that when I register the self-generated exe file as a service using WinSW, there is no configuration like StopEXECUTABLE in the XML file.
Metadata
Metadata
Assignees
Labels
No labels