Skip to content

Configuration

Roman edited this page Jan 2, 2021 · 4 revisions

Example configuration

# /usr/share/m2a/m2a.yaml.example
# ~/.config/m2a/m2a.yaml

m2a:
  port: 12525 # listening port
  notify:
    on_start: true # will send notification on start`
    on_stop: true  # and stop of the daemon
telegram:
  bot_token: 1234567890987654321 # chat with @botfather to get it 
  chat_ids:
    - -1234567890 # @chatIDrobot will help to get it

Supported services

Telegram

bot_token could be received from the @botfather

Currently M2A can send notification only to one chat_ids. You can view it with @chatIDrobot.

Clone this wiki locally