We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#创建系统服务
cat > /etc/systemd/system/mtp.service <<EOF [Unit] Description=mtp After=network.target [Service] Type=forking ExecStart=/bin/bash /home/mtproxy/mtproxy.sh start ExecReload=/bin/bash /home/mtproxy/mtproxy.sh restart ExecStop=/bin/bash /home/mtproxy/mtproxy.sh stop [Install] WantedBy=multi-user.target EOF
#启动服务并设置开机自启
systemctl start mtp systemctl enable mtp
The text was updated successfully, but these errors were encountered:
哥们你开机自启有用吗我搞了一个通宵 开机起不来啊。。只能手动 延迟 什么的都试过了
Sorry, something went wrong.
No branches or pull requests
#创建系统服务
#启动服务并设置开机自启
The text was updated successfully, but these errors were encountered: