From 48ac0970f5932cfccda866d621351d89087c3039 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 16 Jul 2017 13:53:23 -0700 Subject: [PATCH] Note that defaults file is only needed in specific circumstances --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 762088a..9f18b99 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ Pipe logs to Mattermost (or Slack) webhooks 1. `chmod +x /etc/init.d/eth-log-alerting` 1. `cp /usr/local/bin/eth-log-alerting/config-sample.json /usr/local/bin/eth-log-alerting/config.json` 1. Edit `/usr/local/bin/eth-log-alerting/config.json` -1. `cp /usr/local/bin/eth-log-alerting/defaults /etc/default/eth-log-alerting` -1. Edit `/etc/default/eth_log_alerting` +1. If using a different path for your binary or config file, or if running as other than `root`, override the daemon defaults: + 1. `cp /usr/local/bin/eth-log-alerting/defaults /etc/default/eth-log-alerting` + 1. Edit `/etc/default/eth-log-alerting` 1. `update-rc.d eth-log-alerting defaults` 1. `/etc/init.d/eth-log-alerting start` -- GitLab