update
This commit is contained in:
parent
54b6955004
commit
9ff77b1340
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
echo $device_name
|
||||
cp -r ../conf/var/$device_name/*.conf /etc/supervisor/conf.d/
|
|
@ -37,4 +37,4 @@ stopsignal=TERM
|
|||
stopasgroup=True
|
||||
priority=1
|
||||
[include]
|
||||
files = /etc/supervisor/conf.d/*.conf
|
||||
files = /home/pi/lot_manager/conf/common/*.conf
|
||||
|
|
|
@ -4,7 +4,6 @@ set -e
|
|||
git pull origin master --force
|
||||
# 配置文件复制到supervisor管理
|
||||
cp -r conf/common/*.conf /etc/supervisor/conf.d/
|
||||
cp -r conf/var/$device_name/*.conf /etc/supervisor/conf.d/
|
||||
# 更新配置文件
|
||||
supervisorctl reread
|
||||
supervisorctl update
|
||||
|
|
Loading…
Reference in New Issue