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

[Service]
Type=simple
User=mtproto
Group=mtproto
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