<service>
  <id>cqoms-chat</id>
  <name>CQOMS Chatroom</name>
  <description>OMS chat WebSocket notification and expiration service</description>
  <executable>D:\phpstudy_pro\Extensions\php\php7.3.4nts\php.exe</executable>
  <arguments>-c "D:\phpstudy_pro\Extensions\php\php7.3.4nts\php.ini" "D:\phpstudy_pro\WWW\cqoms.com\scripts\chat-worker.php" start</arguments>
  <workingdirectory>D:\phpstudy_pro\WWW\cqoms.com</workingdirectory>
  <startmode>Automatic</startmode>
  <serviceaccount>
    <domain>NT AUTHORITY</domain>
    <user>LocalService</user>
  </serviceaccount>
  <onfailure action="restart" delay="5 sec" />
  <stoptimeout>20 sec</stoptimeout>
  <stopparentprocessfirst>true</stopparentprocessfirst>
  <logpath>D:\phpstudy_pro\WWW\cqoms.com\runtime</logpath>
  <log mode="roll-by-size">
    <sizeThreshold>10240</sizeThreshold>
    <keepFiles>5</keepFiles>
  </log>
</service>
