winsw: update
fix names add start mode remove log settings (don't work. always create log how like "append" mode) add stop before uninstall
This commit is contained in:
parent
61a127413c
commit
2c526259d3
@ -10,6 +10,7 @@ if %errorlevel% == 0 (
|
||||
call sc delete "Onlyoffice%%~nf"
|
||||
)
|
||||
for /R "run\" %%f in (*.xml) do (
|
||||
call install\win\WinSW3.0.0.exe stop %%f
|
||||
call install\win\WinSW3.0.0.exe uninstall %%f
|
||||
)
|
||||
)
|
||||
|
@ -1,12 +1,9 @@
|
||||
<service>
|
||||
<id>OnlyofficeSSocketIO</id>
|
||||
<name>OnlyofficeSocketIO</name>
|
||||
<description>This service runs Socket.</description>
|
||||
<id>OnlyofficeSocketIO</id>
|
||||
<name>ONLYOFFICE SocketIO</name>
|
||||
<startmode>manual</startmode>
|
||||
<executable>node</executable>
|
||||
<arguments>../../common/ASC.Socket.IO/server.js</arguments>
|
||||
<log mode="roll-by-time">
|
||||
<pattern>dd-MM</pattern>
|
||||
</log>
|
||||
<logpath>../../../Logs</logpath>
|
||||
<delayedAutoStart>true</delayedAutoStart>
|
||||
<onfailure action="restart" delay="5 sec" />
|
||||
|
@ -1,12 +1,9 @@
|
||||
<service>
|
||||
<id>OnlyofficeSsoAuth</id>
|
||||
<name>OnlyofficeSsoAuth</name>
|
||||
<description>This service runs SSoAuth.</description>
|
||||
<name>ONLYOFFICE SsoAuth</name>
|
||||
<startmode>manual</startmode>
|
||||
<executable>node</executable>
|
||||
<arguments>../../common/ASC.SSoAuth/app.js</arguments>
|
||||
<log mode="roll-by-time">
|
||||
<pattern>dd-MM</pattern>
|
||||
</log>
|
||||
<logpath>../../../Logs</logpath>
|
||||
<delayedAutoStart>true</delayedAutoStart>
|
||||
<onfailure action="restart" delay="5 sec" />
|
||||
|
@ -1,12 +1,9 @@
|
||||
<service>
|
||||
<id>OnlyofficeUrlShortenerService</id>
|
||||
<name>OnlyofficeUrlShortenerService</name>
|
||||
<description>This service runs UrlShortener.</description>
|
||||
<name>ONLYOFFICE UrlShortenerService</name>
|
||||
<startmode>manual</startmode>
|
||||
<executable>node</executable>
|
||||
<arguments>../../common/ASC.UrlShortener/index.js</arguments>
|
||||
<log mode="roll-by-time">
|
||||
<pattern>dd-MM</pattern>
|
||||
</log>
|
||||
<logpath>../../../Logs</logpath>
|
||||
<delayedAutoStart>true</delayedAutoStart>
|
||||
<onfailure action="restart" delay="5 sec" />
|
||||
|
Loading…
Reference in New Issue
Block a user