Initial Enova365 sync service
This commit is contained in:
14
release/daemon/install.cmd
Normal file
14
release/daemon/install.cmd
Normal file
@@ -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%
|
||||
BIN
release/daemon/smartb2bsync-enova.exe
Normal file
BIN
release/daemon/smartb2bsync-enova.exe
Normal file
Binary file not shown.
13
release/daemon/smartb2bsync-enova.xml
Normal file
13
release/daemon/smartb2bsync-enova.xml
Normal file
@@ -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>
|
||||
7
release/daemon/uninstall.cmd
Normal file
7
release/daemon/uninstall.cmd
Normal file
@@ -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