mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 07:08:10 +00:00
Make it possible to auto-start on reboot
This commit is contained in:
parent
bb75d8a368
commit
41dd401c8b
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
TimeoutStopSec=15s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue