mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update data-mmdvm.sh
This commit is contained in:
parent
f4c7e08bcb
commit
62599a36e0
|
|
@ -152,5 +152,7 @@ if systemctl is-active data-mmdvm.service; then
|
|||
systemctl start data-mmdvm.service
|
||||
systemctl enable data-mmdvm.service
|
||||
fi
|
||||
python3 /opt/data-mmdvm.py
|
||||
if [ -z "$(ls -A /opt/data-files/ 2>/dev/null)" ]; then
|
||||
python3 /opt/data-mmdvm.py
|
||||
fi
|
||||
(crontab -l | grep -v "python3 /opt/data-mmdvm.py") | crontab -
|
||||
|
|
|
|||
Loading…
Reference in New Issue