blob: d0241b46f08f31cc7bc9dcd7ea817c2cd4a315d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=Matrix-Telegram hybrid puppeting/relaybot bridge
[Service]
ExecStartPre=alembic -c /usr/share/mautrix-telegram/alembic.ini -x config=/etc/mautrix-telegram/config.yaml upgrade head
ExecStart=python -m mautrix_telegram -b /usr/share/mautrix-telegram/example-config.yaml -c /etc/mautrix-telegram/config.yaml -r /etc/mautrix-telegram/registration.yaml
Restart=on-failure
User=mautrix-telegram
WorkingDirectory=~
[Install]
WantedBy=multi-user.target
|