aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2017-07-19 12:45:54 +0200
committerRahiel Kasim <rahielkasim@gmail.com>2017-07-19 12:45:54 +0200
commitf32d785bbdb6afd3ea83f05ccbc66abf768fbf79 (patch)
treed1b631901ac2fe7e986222c69c260331ebc46964
parentd83a5d0e02bcf8a1a0669ea584f6ea3fbe6e725c (diff)
how to pass options to telegram-send
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index d801764..c68e0d5 100644
--- a/README.md
+++ b/README.md
@@ -51,6 +51,12 @@ example [ntfy][], pass in the command:
command=supervisor-alert -c 'ntfy send'
```
+By default the config file at `/etc/telegram-send.conf` is used for
+telegram-send, to use a different config, or to pass any other options:
+``` shell
+command=supervisor-alert -c 'telegram-send --config /home/user/bunny.conf'
+```
+
This configuration will run the event listener as the user `supervisor_alert`.
It is a good practice to isolate services by running them as separate users (and
avoiding running them as root). Add the user with: