diff --git a/config/mtproto-proxy.service b/config/mtproto-proxy.service index 7d6f61b..89c74b9 100644 --- a/config/mtproto-proxy.service +++ b/config/mtproto-proxy.service @@ -24,4 +24,7 @@ LimitNOFILE=40960 AmbientCapabilities=CAP_NET_BIND_SERVICE ExecStart=/opt/mtp_proxy/bin/mtp_proxy foreground ExecStop=/opt/mtp_proxy/bin/mtp_proxy stop -TimeoutStopSec=15s \ No newline at end of file +TimeoutStopSec=15s + +[Install] +WantedBy=multi-user.target \ No newline at end of file