Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈伟灿
k-sdk
Commits
e0894cb0
Commit
e0894cb0
authored
Sep 25, 2020
by
黄振令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改内容】检查网关程序,如果死掉重启
parent
253f2881
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
process_check.sh
process_check.sh
+9
-0
No files found.
process_check.sh
View file @
e0894cb0
...
@@ -20,4 +20,13 @@ else
...
@@ -20,4 +20,13 @@ else
/home/kk/kk_midware
>
/dev/null 2>&1 &
/home/kk/kk_midware
>
/dev/null 2>&1 &
/home/kk/kcloud
>
/dev/null 2>&1 &
/home/kk/kcloud
>
/dev/null 2>&1 &
fi
fi
sleep
30
PIDS
=
`
ps|grep Z3GatewayHost |grep
-v
grep
|
awk
'{print $1}'
`
if
[
"
$PIDS
"
!=
""
]
;
then
echo
"Z3GatewayHost is runing!"
else
echo
"Z3GatewayHost is not running ,now restart Z3GatewayHost"
pgrep Z3GatewayHost | xargs
kill
-s
9
/home/kk/Z3GatewayHost
-f
x
-p
/dev/ttyS0
>
/dev/null 2>&1 &
fi
done
done
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