-
Notifications
You must be signed in to change notification settings - Fork 189
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
后台运行的正确姿势 #71
Comments
也可以考虑 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
关于 #45 提到的 root 权限, 分享一个使用普通用户的 systemd file 和相关配置
tg-bot
并禁止登录tg-bot
建立用于放置rssbot.json
的文件夹,/etc/systemd/system/rssbot.service
, 写入sudo systemctl daemon-reload sudo systemctl start rssbot.service sudo systemctl enable rssbot.service systemctl status rssbot.service
ps -ef | grep rssbot
查看:当然直接用 root 也可以...不过跑自己服务器上的东西还是想尽量简单嘛The text was updated successfully, but these errors were encountered: