Skip to content
Permalink
Browse files

Update 2019-02-25

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 26, 2019
1 parent c16ae3b commit e7d4d0b76476a932dbde1148e222f8c8a8881c61
Showing with 5 additions and 5 deletions.
  1. +5 −5 services.sh
@@ -45,11 +45,11 @@ ver=$(/usr/local/bin/nems-info nemsver)

# monitorix
if grep -q "service.monitorix=0" "$conf"; then
systemctl stop monitorix
systemctl disable monitorix
/bin/systemctl stop monitorix
/bin/systemctl disable monitorix
else
systemctl enable monitorix
systemctl start monitorix
/bin/systemctl enable monitorix
/bin/systemctl start monitorix
fi


@@ -60,7 +60,7 @@ ver=$(/usr/local/bin/nems-info nemsver)
if grep -q "service.rpi-monitor=0" "$conf"; then
sleep 30
/etc/init.d/rpimonitor stop
systemctl stop rpimonitor
/bin/systemctl stop rpimonitor
else
/etc/init.d/rpimonitor start
fi

0 comments on commit e7d4d0b

Please sign in to comment.
You can’t perform that action at this time.