bundles/mautrix-telegram: introduce
This commit is contained in:
parent
180802a669
commit
cf2920f284
5 changed files with 321 additions and 1 deletions
15
bundles/mautrix-telegram/files/mautrix-telegram.service
Normal file
15
bundles/mautrix-telegram/files/mautrix-telegram.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Matrix Telegram Bridge
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=mautrix-telegram
|
||||
Group=mautrix-telegram
|
||||
Environment="VIRTUAL_ENV=/opt/mautrix-telegram/venv"
|
||||
Environment="PATH=/opt/mautrix-telegram/venv/bin:/usr/local/bin:/usr/bin:/bin"
|
||||
ExecStart=/opt/mautrix-telegram/venv/bin/python -m mautrix_telegram -c /opt/mautrix-telegram/config.yaml
|
||||
WorkingDirectory=/opt/mautrix-telegram
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue