Нет описания

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

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