Revert "systemd/matterbridge.service: import parts of upstream"

This reverts commit 35aea33043.

Ref: https://github.com/42wim/matterbridge/issues/1794
This commit is contained in:
Aminda Suomalainen 2022-04-04 09:50:46 +03:00
parent 35aea33043
commit bb7f283891
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -6,16 +6,13 @@ After=network-online.target systemd-resolved.service
#Wants=oragono.service
[Service]
Type=notify
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"
# 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
TimeoutStartSec=3600
Restart=always
RestartSec=10
RestartSec=5s
User=matterbridge
LimitNOFILE=49152
[Install]
WantedBy=multi-user.target