We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
你配置的所有地址都是绝对路径,而实际上几乎所有的地址都可以根据项目的相对路径进行表示。这样绝对路径,在自己电脑上弄还好,一旦涉及到克隆一份新的副本出来,更改配置就很麻烦了,而且假如在多台设备上进行开发,并且项目路径不统一,则同步起来会相当麻烦。建议全部都改成相对路径。
比如说confg/supervisord.conf中
confg/supervisord.conf
[supervisord] logfile=/home/the5fire/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log) logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB) logfile_backups=10 ; (num of main logfile rotation backups;default 10) loglevel=info ; (log level;default info; others: debug,warn,trace)
其中logfile实际上可以写成logfile=tmp/supervisord.log,只要保证是在项目根目录执行命令就行了。
logfile
logfile=tmp/supervisord.log
The text was updated successfully, but these errors were encountered:
恩,你的这个建议也有道理。有需求的同学可以按照这个来做。
Sorry, something went wrong.
No branches or pull requests
你配置的所有地址都是绝对路径,而实际上几乎所有的地址都可以根据项目的相对路径进行表示。这样绝对路径,在自己电脑上弄还好,一旦涉及到克隆一份新的副本出来,更改配置就很麻烦了,而且假如在多台设备上进行开发,并且项目路径不统一,则同步起来会相当麻烦。建议全部都改成相对路径。
比如说
confg/supervisord.conf
中其中
logfile
实际上可以写成logfile=tmp/supervisord.log
,只要保证是在项目根目录执行命令就行了。The text was updated successfully, but these errors were encountered: