Last active
June 10, 2020 16:37
-
-
Save phlinhng/dae040eda77bea281f50ab80a13c83bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=MTG - Bullshit-free MTPROTO proxy for Telegram | |
Documentation=https://github.com/9seconds/mtg | |
After=network.target nss-lookup.target | |
Wants=network-online.target | |
[Service] | |
Type=simple | |
User=root | |
ExecStart=/usr/local/bin/mtg run <secret> --bind 0.0.0.0:8443 | |
Restart=on-failure | |
RestartSec=10 | |
RestartPreventExitStatus=23 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment