Hi all. I came across that I started setting up the service. I created a secret key, then created a proxy tag in the telegram. I entered the parameters, but the following error occurs when starting
Jun 23 17:22:11 matoshi systemd[1]: MTProxy.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jun 23 17:22:11 matoshi systemd[1]: MTProxy.service: Failed with result 'exit-code'.
My options
[Unit]
Description=MTProxy
After=network.target
Hi all. I came across that I started setting up the service. I created a secret key, then created a proxy tag in the telegram. I entered the parameters, but the following error occurs when starting Jun 23 17:22:11 matoshi systemd[1]: MTProxy.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jun 23 17:22:11 matoshi systemd[1]: MTProxy.service: Failed with result 'exit-code'.
My options [Unit] Description=MTProxy After=network.target
[Service] Type=simple WorkingDirectory=/root/opt/MTProxy ExecStart=/root/objs/bin/MTProxy/mtproto-proxy -u nobody -p 8888 -H 443 -S MySecretKey -P MyProxyTag Restart=on-failure
[Install] WantedBy=multi-user.target