Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve the mqtt_input daemon checks further #45

Merged
merged 2 commits into from
Jan 17, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
further improvement to the mqtt_script daemon update
Another fix to avoid the update assuming the git pull on the emoncms repo was succesful
See [Mqtt.service problems with modified emonSD-07Nov16 ](https://community.openenergymonitor.org/t/mqtt-service-problems-with-modified-emonsd-07nov16/2813?u=pb66)
  • Loading branch information
pb66 authored Jan 17, 2017
commit 355a38fc02b9d2c044e089b90a261f7f2c6d284d
2 changes: 1 addition & 1 deletion emoncmsupdate
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ fi
echo

################################################################################################
if [ -d /etc/systemd ]; then
if [ -d /etc/systemd ] && [ -f /var/www/emoncms/scripts/mqtt_input.service ]; then
if [ -f /etc/init.d/mqtt_input ]; then
echo "replacing initd mqtt_input with systemd mqtt input"
sudo /etc/init.d/mqtt_input stop
Expand Down