1
This commit is contained in:
12
start.sh
Executable file
12
start.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# Auto-generated start script
|
||||
|
||||
# 启动所有监听服务
|
||||
echo '启动 设备73-TCP (dev1) - TCP...'
|
||||
su root -c "/usr/bin/python3 /home/smart/pythonPJ/upc_resent/bin/dev1.py &"
|
||||
echo '启动 设备125-TCP (dev2) - TCP...'
|
||||
su root -c "/usr/bin/python3 /home/smart/pythonPJ/upc_resent/bin/dev2.py &"
|
||||
echo '启动 设备UDP示例 (dev3) - UDP...'
|
||||
su root -c "/usr/bin/python3 /home/smart/pythonPJ/upc_resent/bin/dev3.py &"
|
||||
|
||||
echo "所有服务已启动"
|
||||
Reference in New Issue
Block a user