Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with service #579

Open
matosh1 opened this issue Jun 23, 2024 · 0 comments
Open

Problem with service #579

matosh1 opened this issue Jun 23, 2024 · 0 comments

Comments

@matosh1
Copy link

matosh1 commented Jun 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant