Comment 28 for bug 1743592

Revision history for this message
Robie Basak (racb) wrote :

@Nikita

If you're using automation to install and configure nginx, then you should already be using policy-rc.d to disable the service start when you install it with apt. Then nginx shouldn't fail to start because it doesn't attempt to start. You can then configure nginx and start it manually.

For example, with ansible, you can use policy_rc_d=101 when calling the apt module.

In my opinion automation tooling that doesn't do this by default is buggy. That's unfortunately all of them. But they can generally be arranged to do it properly in configuration.

Does this work for you?