This commit is contained in:
邱博亞 2023-12-23 12:41:44 +08:00
parent e5a00f7fcb
commit 04623bcca1
1 changed files with 2 additions and 0 deletions

View File

@ -44,7 +44,9 @@ namespace :exec_commands do
rails_envs = ["production", "development"]
rails_envs.each do |env|
@command_relations["start_site_in_env,#{env}"] = "kill -s TERM `fuser tmp/pids/unicorn.sock tmp/sockets/unicorn.sock tmp/unicorn.sock`;bundle exec unicorn_rails -c config/unicorn.rb -D -E #{env}"
@command_relations["start_site_in_env\\,#{env}"] = @command_relations["start_site_in_env,#{env}"]
@command_trans["start_site_in_env,#{env}"] = I18n.t("client_management.start_site_in_env",{:env=>env})
@command_trans["start_site_in_env\\,#{env}"] = @command_trans["start_site_in_env,#{env}"]
end
begin
if args.type == "exec_all"