You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now run "sudo /etc/init.d/nginx reload" when capistrano-unicorn-nginx reload nginx.
but this command was failed on CentOS7.
because "/etc/init.d/nginx" is not exist on CentOS7.
I want to run this command for nginx reload. sudo service nginx restart
Can I modified this reload task ?
task :reload do
on roles :web do
sudo nginx_service_path, 'reload'
end
end
The text was updated successfully, but these errors were encountered:
Now run "sudo /etc/init.d/nginx reload" when capistrano-unicorn-nginx reload nginx.
but this command was failed on CentOS7.
because "/etc/init.d/nginx" is not exist on CentOS7.
I want to run this command for nginx reload.
sudo service nginx restart
Can I modified this reload task ?
The text was updated successfully, but these errors were encountered: