您好我正在用神来监控这些过程。我想监视美洲狮。问题是它给了我这个错误:'错误:没有配置应用程序,没有任何运行'在开始美洲狮。 当我手动使用时,同样的命令,puma正在成功启动。
上帝配置文件供参考:
w.name = "puma"
w.interval = 60.seconds
w.start = "RAILS_ENV=staging bundle exec puma -C #{RAILS_ROOT}/config/puma.rb"
w.stop = "kill -s QUIT $(cat #{pid_file})"
w.restart = "kill -s HUP $(cat #{pid_file})"
w.start_grace = 20.seconds
w.restart_grace = 20.seconds
w.pid_file = pid_file
w.behavior(:clean_pid_file)
我已经定义了上面的pid_file。