摘要: 报错:ERROR (spawn error) 解决:查看supervisor配置文件,如果没有日志配置,则添加日志配置 可在最后一行添加 stdout_logfile =/var/supervisor.log 重新启动,查看日志报错 阅读全文
posted @ 2021-05-27 15:39 半日闲1 阅读(1124) 评论(0) 推荐(0) 编辑
摘要: bl = "hahahah" with open("/etc/hosts","r",encoding="utf-8") as f: lines = f.readlines() with open("/etc/hosts","w",encoding="utf-8") as f_w: for line 阅读全文
posted @ 2021-05-27 15:00 半日闲1 阅读(39) 评论(0) 推荐(0) 编辑