Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to reload nginx on CentOS7 #84

Open
waura opened this issue Jul 2, 2016 · 1 comment
Open

Failed to reload nginx on CentOS7 #84

waura opened this issue Jul 2, 2016 · 1 comment

Comments

@waura
Copy link
Contributor

waura commented Jul 2, 2016

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
@waura
Copy link
Contributor Author

waura commented Jul 2, 2016

I fixed this issue.
I merged these changes.
#45
#85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant