From 41dd401c8ba8d225d0e99695622080b70c2af921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D1=80=D0=BE?= =?UTF-8?q?=D1=85=D0=BE=D1=80=D0=BE=D0=B2?= Date: Sat, 22 Sep 2018 18:40:17 +0200 Subject: [PATCH] Make it possible to auto-start on reboot --- config/mtproto-proxy.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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