-
Notifications
You must be signed in to change notification settings - Fork 302
fixing systemd issue when daemon is set to on #39
Conversation
Hi @deimosfr , Thanks for the pull request, we can do more simple and generic.
Notes : by default for nginx is "daemon on". Best regards, |
Hi, Thanks for your answer. In fact no, it won't work. Because as said in the #38 ticket, if you're using systemd, you can't declare twice the "daemon" parameter. It's rejected by nginx validator. And if you're asking why twice, it's simply because "daemon" parameter is hard coded in the systemd script of Debian Jessie :-/. So in fact, it's not "safely" possible to disable it if you're running systemd with its default given configuration on Debian Jessie :-(. The only way to make it work, is to update the systemd configuration, but It may be override by a package update and so suddenly failed on next nginx boot.. However, this fix permit to make it work if you've set it to "on". |
Yes I understand, I also read the ticket.
|
You're right, in my configuration it will work ! However, it's a shame that we could not better cover the "off" case. |
Just updated with your suggestion. Can you please merge and make a new release ? Thanks |
fixing systemd issue when daemon is set to on
Ok thanks @deimosfr , I just merge. I juste make the release /v1.2.1. |
ok make sense. Thanks a lot :-) |
Can you please update ansible galaxy as well. Thanks |
It's update on ansible galaxy. |
Thanks it works ! |
Hi,
This role is not working with systemd installed on the machine. Here is a fix.
Can you please merge it.
Thanks