Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-docker-entrypoints
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-docker-entrypoints
Commits
3a0b4a23
Commit
3a0b4a23
authored
Aug 02, 2019
by
xuezj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试日志
parent
027d2d07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
nodejs.sh
tke/nodejs.sh
+9
-11
No files found.
tke/nodejs.sh
View file @
3a0b4a23
...
...
@@ -7,15 +7,6 @@ echo "NAMESPACE is $NAMESPACE"
echo
"cd
${
package_path
}
"
cd
${
package_path
}
# 日志挂载到了/home/logs下
# 创建新目录,并把/home/quant_group/logs指向新目录
logdir
=
"/home/logs/
${
HOSTNAME
}
"
mkdir
"
${
logdir
}
"
echo
"创建日志目录:
$logdir
"
# 创建日志目录
# mkdir "/home/quant_group/logs"
ln
-s
"
${
logdir
}
"
"logs"
echo
"echo host"
echo
192.168.4.50 eos.quantgroups.com
>>
/etc/hosts
...
...
@@ -28,9 +19,16 @@ tar zxf ${package_path}/dist.tgz -C ${package_path}/
echo
"rm -rf
${
package_path
}
/dist.tgz"
rm
-rf
${
package_path
}
/dist.tgz
# 日志挂载到了/home/logs下
# 创建新目录,并把/home/quant_group/logs指向新目录
logdir
=
"/home/logs/
${
HOSTNAME
}
"
mkdir
"
${
logdir
}
"
echo
"创建日志目录:
$logdir
"
rm
-rf
"logs"
ln
-s
"
${
logdir
}
"
"logs2"
echo
"start"
# curl -s "http://172.30.220.22:3003/proconfig/get_info?system_name=${SYSTEM_NAME}&key=start_command" | sh
# tail -f /var/log/*.log
node ./bin/server.js
if
[[
$DEBUG
==
1
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment