summarylogtreecommitdiffstats
path: root/mtproxy-config.service
blob: 7ec0135cd6ab5dc58290f1b2384ec88271b3300a (plain)
1
2
3
4
5
6
7
8
9
10
[Unit]
Description=Updates Telegram configuration
After=network-online.target
Wants=network-online.target

[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