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

Enable nginx to start on boot #17

Closed
5 of 6 tasks
alex-418 opened this issue Jun 6, 2018 · 2 comments
Closed
5 of 6 tasks

Enable nginx to start on boot #17

alex-418 opened this issue Jun 6, 2018 · 2 comments

Comments

@alex-418
Copy link

alex-418 commented Jun 6, 2018

Submit a feature request or bug report


What is the current behavior?

The nginx service isn't enabled, so it doesn't automatically start on
boot.

What is the expected or desired behavior?

ngix service is enabled and starts on boot.


Bug report

Please see roots#980

Adding this to the end of roles/nginx/tasks/main.yml would resolve it:

- name: Enable Nginx to start on boot
  service:
    name: nginx
    enabled: yes
    state: started
    use: service
@greatislander
Copy link

greatislander commented Jun 6, 2018

@alex-418 We will be merging upstream into our fork sometime soon, which will bring in this fix. Thanks for reporting!

@dac514
Copy link

dac514 commented Jun 7, 2018

I've been doing vagrant ssh sudo service nginx restart (in case someone finds this and needs a workaround.)

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

3 participants