This website works better with JavaScript.
Home
Explore
Help
Sign In
LeeWeiCheng
/
altob.st123
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add restart mqtt
station_14109
altob.rd
8 years ago
parent
922c01fe2e
commit
c5c6c7ee76
1 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
coworker/restart_mqtt_service.sh
+ 8
- 0
coworker/restart_mqtt_service.sh
View File
@@ -0,0 +1,8 @@
# 重開
# 0. kill pid
kill -9 `cat mqtt_service_pid.txt`
# 1. start
/usr/bin/php /home/bigbang/apps/coworker/mqtt_service.php > /tmp/mqtt_service.log 2>&1&
echo $! > mqtt_service_pid.txt
Write
Preview
Loading…
Cancel
Save