我有一个主管“程序”(queue.sh),其运行bash脚本,从文本文件读取,运行另一个程序,如果文本文件不为空: while true; do
# Read line 1
line=$(head -n1 ./.queue)
echo $line
if [ "$line" != "" ]; then
# Remove line
我遇到了一些在基于debian的容器上运行elasticsearch的问题,结合了not being able to find log files和not being able to run as root。但即使symlinking的配置文件不适合我。我能够让它运行,并认为它可能对某人有帮助。 我安装elasticsearch用这个命令: wget -qO - https://packages.
我有我的Python应用程序通过uWSGI运行。很少,应用程序会遇到一个错误,使其无法加载。那时,如果我发送请求到uWSGI,我得到错误no python application found, check your startup logs for errors。我想在这种情况下发生的事情是,uWSGI会死掉,以便管理它的程序(主管,在我的情况下)可以重新启动它。有没有设置或我可以用来强制这个设置