summarylogtreecommitdiffstats
path: root/mtproxy-config.service
blob: b37f5217af801093d99e09cfd17e62092f3f2e99 (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Updates Telegram configuration

[Service]
Type=oneshot
ExecStart=/usr/bin/curl -s https://core.telegram.org/getProxyConfig -o /var/lib/mtproxy/multi.conf
ExecStart=/usr/bin/curl -s https://core.telegram.org/getProxySecret -o /var/lib/mtproxy/secret.conf
StandardError=journal