Initial Enova365 sync service
This commit is contained in:
commit
605c6b7d2a
50 files changed
+2813
No files matched your search
@@ -0,0 +1,14 @@
|
||||
@echo off
|
||||
setlocal
|
||||
cd /d "%~dp0"
|
||||
|
||||
if not exist "smartb2bsync-enova.exe" (
|
||||
echo Brak smartb2bsync-enova.exe. Najpierw uruchom publish.ps1.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
smartb2bsync-enova.exe install
|
||||
if errorlevel 1 exit /b %errorlevel%
|
||||
|
||||
smartb2bsync-enova.exe start
|
||||
exit /b %errorlevel%
|
||||
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
<service>
|
||||
<id>smartb2bsync-enova</id>
|
||||
<name>SmartB2B SYNC - enova365</name>
|
||||
<description>Synchronizuje enova365 z portalem SmartB2B.</description>
|
||||
<executable>%BASE%\..\SmartB2B.Enova.Service.exe</executable>
|
||||
<workingdirectory>%BASE%\..</workingdirectory>
|
||||
<stoptimeout>30sec</stoptimeout>
|
||||
<log mode="roll-by-time">
|
||||
<pattern>yyyyMMdd</pattern>
|
||||
</log>
|
||||
<onfailure action="restart" delay="10 sec" />
|
||||
<delayedAutoStart />
|
||||
</service>
|
||||
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
setlocal
|
||||
cd /d "%~dp0"
|
||||
|
||||
smartb2bsync-enova.exe stop
|
||||
smartb2bsync-enova.exe uninstall
|
||||
exit /b %errorlevel%
|
||||
Reference in new issue
Block a user