Sen descrición

xuqiang 944158b64b update scadaplugin module hai 3 meses
3rdparty 067b2d1f88 add file server by cpp-httplib hai 4 meses
conf b14e6e1d24 update conf monitor.service hai 3 meses
docs 60a9253cb2 record cross-platform compilation of qt hai 5 meses
include f21df0b718 add app entry parameter hai 3 meses
scadaplugin @ bf94b2d970 944158b64b update scadaplugin module hai 3 meses
scripts f21df0b718 add app entry parameter hai 3 meses
services 4f91a6d251 fix ota service permission issue hai 3 meses
src f21df0b718 add app entry parameter hai 3 meses
tests c2dd2fd1c5 update test monitor.xml hai 4 meses
tools 93e1e3fd68 update qt build script & conf hai 5 meses
.gitignore 8e36fb298d update hai 4 meses
.gitmodules 0fa02526f2 add scadaplugin submodule hai 5 meses
CMakeLists.txt a3af8391d5 update monitor service config hai 3 meses
Makefile ddc6f54a81 fix calprocess error hai 3 meses
README.md a3af8391d5 update monitor service config hai 3 meses

README.md

MONITOR

build

make BUILD_TYPE=Debug

deploy

make deploy BUILD_TYPE=Debug ADDR=192.168.1.15

configure autostart

cp conf/monitor.desktop ~/.config/autostart/monitor.desktop

configure systemd (recommend)

cp conf/monitor.service /etc/systemd/system/monitor.service

enabled

systemctl daemon-reload
systemctl enable --now monitor
systemctl status monitor

disable log to syslog

  • /etc/rsyslog.d/30-monitor.conf
  • systemctl restart rsyslog

    if ($programname == 'monitor') or ($systemdunit == 'monitor.service') then stop