summarylogtreecommitdiffstats
path: root/mtprotoproxy.service
blob: 2e37552d9503f1f52e5c5be9006b5a879a539bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Telegram MTProto proxy written in pure python
After=network.target network-online.target

[Service]
Type=simple
User=nobody
ExecStart=/usr/bin/mtprotoproxy /etc/mtprotoproxy.conf
Restart=always
RestartSec=10
NoNewPrivileges=true
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_ADMIN

[Install]
WantedBy=multi-user.target