Compare commits
2 Commits
35d39ab18b
...
40dd384d8a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40dd384d8a | ||
|
|
4c39154c01 |
@@ -3,7 +3,7 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi
|
||||
# if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi
|
||||
|
||||
readonly CHANNEL_ID="CBYWAKOA03B5320231107102110898"
|
||||
readonly VENDOR="UM"
|
||||
@@ -78,7 +78,7 @@ __sync_goudev_deploy() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if (( _binary_refreshed )); then
|
||||
if ((_binary_refreshed)); then
|
||||
__kill_process
|
||||
fi
|
||||
}
|
||||
@@ -127,7 +127,7 @@ __main() {
|
||||
__prepare_environment
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') start.sh"
|
||||
if ! __process_running; then
|
||||
__sync_goudev_deploy
|
||||
__sync_goudev_deploy
|
||||
echo " 启动 goudev-deploy 进程..."
|
||||
__start_goudev_deploy
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user