添加docker相关配置文件

This commit is contained in:
kerwincui
2021-06-30 17:39:35 +08:00
parent b3bd93cca3
commit 46e440fcf1
5 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/bash
# start service
startTime=$(date "+%Y-%m-%d %H:%M:%S")
echo $startTime : wumei-smart is starting...
service nginx start
service redis-server start
emqx start
#service mysql start
#java -jar /var/wumei-smart/java/app.jar
while true
do
time=$(date "+%Y-%m-%d %H:%M:%S")
echo $time : wumei-smart is running...
sleep 3600
done