root
root
1827 5 0

这是什么错误

这是什么错误 @ego008

0

See Also

Nearby


Discussion (5)

ego008
ego008 2018-01-05 12:16

模版文件找不到

0
root
root 2018-01-05 12:19

@ego008 晕。明明有的。。。汗

0
root
root 2018-01-05 12:19

0
ego008
ego008 2018-01-05 12:47

切换到网站程序目录运行

或者修改config.yaml 里下面三项,均改为绝对路径

PubDir: "static"
ViewDir: "view/default"
Youdb: "mytest.db"

supervisor 里有个配置 directory 就是切换到指定路径

[program:youbbs]
command = /srv/www/youbbs/goyoubbs -config=/srv/www/youbbs/config/config.yaml
process_name = youbbs
stopwaitsecs = 10
directory = /srv/www/youbbs
redirect_stderr=true
autostart=true
autorestart=true
stdout_logfile=/srv/logs/youbbs_out.log
stderr_logfile=/srv/logs/youbbs_err.log
0
root
root 2018-01-05 14:00

@ego008 OK已解决 谢谢

0
Login Topics