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

请问一下怎么保持博客持续运行 #46

Open
SoSolife opened this issue Apr 19, 2019 · 1 comment
Open

请问一下怎么保持博客持续运行 #46

SoSolife opened this issue Apr 19, 2019 · 1 comment
Labels

Comments

@SoSolife
Copy link

SoSolife commented Apr 19, 2019

博客挂久了有时候会自动终止,有时候不嫌麻烦也会手动重启,但是很多时候都不知道博客已经终止了。。想找个办法可以在崩溃的时候自动重启。。

@xpleaf
Copy link
Owner

xpleaf commented May 5, 2019

这个可以写个shell脚本监控,放在定时任务里,脚本里查看特定端口的进程在不在,不在就说明崩溃了,这时进行重启就好了。

@xpleaf xpleaf added the question label May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants