vps机器重启后, hexo博客502了, 发现没有做开机自启动.

npm用pm2做托管:

创建hexo-backrun.js:

创建pm2-config.json:

创建hexo.service:

systemctl deamon-reload && systemctl start hexo && systemctl enable hexo

Categories: 未分类

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *