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

环境变量加载不到,pm2无法识别 #15

Open
houchanglei opened this issue Aug 8, 2024 · 0 comments
Open

环境变量加载不到,pm2无法识别 #15

houchanglei opened this issue Aug 8, 2024 · 0 comments

Comments

@houchanglei
Copy link

可以把54行改为
restore_command = f"sshpass -p '{password}' ssh -o StrictHostKeyChecking=no -p {port} {username}@{host} 'source ~/.profile; {cron_command}'"

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