2021-11-21 15:52:14 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Matterbridge Daemon
|
|
|
|
After=network-online.target systemd-resolved.service
|
|
|
|
#oragono.service
|
|
|
|
# ^--v add these if running Ergo (previously Oragono) on the same host
|
|
|
|
#Wants=oragono.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment="PATH=/home/matterbridge/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
|
2022-03-18 09:44:25 +01:00
|
|
|
# To get Telegram chatid, add the bot to the group and say /groupId, -debug
|
|
|
|
# isn't needed for it nowadays
|
|
|
|
ExecStart=/home/matterbridge/.local/bin/matterbridge -conf /home/matterbridge/matterbridge.toml
|
2021-11-21 15:52:14 +01:00
|
|
|
Restart=always
|
2022-04-04 08:50:46 +02:00
|
|
|
RestartSec=5s
|
2021-11-21 15:52:14 +01:00
|
|
|
User=matterbridge
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|