Skip to content

Commit

Permalink
Try and fix restart logdaemon issue on SEA.serveme.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
Arie committed Aug 12, 2024
1 parent 62c387f commit a2218c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/deploy/logdaemon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def logdaemon_host
task :stop do
on roles(:web, :app) do
within current_path do
execute :ruby, "#{logdaemon_command} -k -P #{logdaemon_pid}"
execute :ruby, "#{logdaemon_command} -k -P #{logdaemon_pid} > /dev/null"
end
end
end
Expand All @@ -30,7 +30,7 @@ def logdaemon_host
task :start do
on roles(:web, :app) do
within current_path do
execute :ruby, "#{logdaemon_command} -i #{logdaemon_host} -p 40001 -d -l #{logdaemon_log} -P #{logdaemon_pid}"
execute :ruby, "#{logdaemon_command} -i #{logdaemon_host} -p 40001 -d -l #{logdaemon_log} -P #{logdaemon_pid} > /dev/null"
end
end
end
Expand All @@ -39,8 +39,8 @@ def logdaemon_host
task :restart do
on roles(:web, :app) do
within current_path do
execute :ruby, "#{logdaemon_command} -k -P #{logdaemon_pid}"
execute :ruby, "#{logdaemon_command} -i #{logdaemon_host} -p 40001 -d -l #{logdaemon_log} -P #{logdaemon_pid}"
execute :ruby, "#{logdaemon_command} -k -P #{logdaemon_pid} > /dev/null"
execute :ruby, "#{logdaemon_command} -i #{logdaemon_host} -p 40001 -d -l #{logdaemon_log} -P #{logdaemon_pid} > /dev/null"
end
end
end
Expand Down

0 comments on commit a2218c3

Please sign in to comment.