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"
|
call sc delete "Onlyoffice%%~nf"
|
||||||
)
|
)
|
||||||
for /R "run\" %%f in (*.xml) do (
|
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
|
call install\win\WinSW3.0.0.exe uninstall %%f
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
<service>
|
<service>
|
||||||
<id>OnlyofficeSSocketIO</id>
|
<id>OnlyofficeSocketIO</id>
|
||||||
<name>OnlyofficeSocketIO</name>
|
<name>ONLYOFFICE SocketIO</name>
|
||||||
<description>This service runs Socket.</description>
|
<startmode>manual</startmode>
|
||||||
<executable>node</executable>
|
<executable>node</executable>
|
||||||
<arguments>../../common/ASC.Socket.IO/server.js</arguments>
|
<arguments>../../common/ASC.Socket.IO/server.js</arguments>
|
||||||
<log mode="roll-by-time">
|
|
||||||
<pattern>dd-MM</pattern>
|
|
||||||
</log>
|
|
||||||
<logpath>../../../Logs</logpath>
|
<logpath>../../../Logs</logpath>
|
||||||
<delayedAutoStart>true</delayedAutoStart>
|
<delayedAutoStart>true</delayedAutoStart>
|
||||||
<onfailure action="restart" delay="5 sec" />
|
<onfailure action="restart" delay="5 sec" />
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
<service>
|
<service>
|
||||||
<id>OnlyofficeSsoAuth</id>
|
<id>OnlyofficeSsoAuth</id>
|
||||||
<name>OnlyofficeSsoAuth</name>
|
<name>ONLYOFFICE SsoAuth</name>
|
||||||
<description>This service runs SSoAuth.</description>
|
<startmode>manual</startmode>
|
||||||
<executable>node</executable>
|
<executable>node</executable>
|
||||||
<arguments>../../common/ASC.SSoAuth/app.js</arguments>
|
<arguments>../../common/ASC.SSoAuth/app.js</arguments>
|
||||||
<log mode="roll-by-time">
|
|
||||||
<pattern>dd-MM</pattern>
|
|
||||||
</log>
|
|
||||||
<logpath>../../../Logs</logpath>
|
<logpath>../../../Logs</logpath>
|
||||||
<delayedAutoStart>true</delayedAutoStart>
|
<delayedAutoStart>true</delayedAutoStart>
|
||||||
<onfailure action="restart" delay="5 sec" />
|
<onfailure action="restart" delay="5 sec" />
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
<service>
|
<service>
|
||||||
<id>OnlyofficeUrlShortenerService</id>
|
<id>OnlyofficeUrlShortenerService</id>
|
||||||
<name>OnlyofficeUrlShortenerService</name>
|
<name>ONLYOFFICE UrlShortenerService</name>
|
||||||
<description>This service runs UrlShortener.</description>
|
<startmode>manual</startmode>
|
||||||
<executable>node</executable>
|
<executable>node</executable>
|
||||||
<arguments>../../common/ASC.UrlShortener/index.js</arguments>
|
<arguments>../../common/ASC.UrlShortener/index.js</arguments>
|
||||||
<log mode="roll-by-time">
|
|
||||||
<pattern>dd-MM</pattern>
|
|
||||||
</log>
|
|
||||||
<logpath>../../../Logs</logpath>
|
<logpath>../../../Logs</logpath>
|
||||||
<delayedAutoStart>true</delayedAutoStart>
|
<delayedAutoStart>true</delayedAutoStart>
|
||||||
<onfailure action="restart" delay="5 sec" />
|
<onfailure action="restart" delay="5 sec" />
|
||||||
|
Loading…
Reference in New Issue
Block a user