mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-10 20:32:35 +01:00
systemd/matterbridge.service: import parts of upstream
https://github.com/42wim/matterbridge/wiki/Service-files#systemd
This commit is contained in:
parent
bfb842b8ac
commit
35aea33043
@ -6,13 +6,16 @@ After=network-online.target systemd-resolved.service
|
|||||||
#Wants=oragono.service
|
#Wants=oragono.service
|
||||||
|
|
||||||
[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"
|
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
|
# To get Telegram chatid, add the bot to the group and say /groupId, -debug
|
||||||
# isn't needed for it nowadays
|
# isn't needed for it nowadays
|
||||||
ExecStart=/home/matterbridge/.local/bin/matterbridge -conf /home/matterbridge/matterbridge.toml
|
ExecStart=/home/matterbridge/.local/bin/matterbridge -conf /home/matterbridge/matterbridge.toml
|
||||||
|
TimeoutStartSec=3600
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5s
|
RestartSec=10
|
||||||
User=matterbridge
|
User=matterbridge
|
||||||
|
LimitNOFILE=49152
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user