Welcome! Log In Create A New Profile

Advanced

Re: .service ExecStartPre in example

January 11, 2019 05:28AM
Lucas Rolff Wrote:
-------------------------------------------------------
> There's nothing wrong with testing the configuration before starting
> the web server.

Sure, but what effect does it have in the .service file?

> The config is tested during restart, by the ExecStartPre. If you

But only after the old instance is stopped.. so again, what's the purpose?

> modify a config and you want to restart, you should execute nginx -t
> prior to restarting your service - but generally you'd want to use
> nginx -s reload as much as possible.
Subject Author Posted

.service ExecStartPre in example

Olaf van der Spek January 11, 2019 05:12AM

Re: .service ExecStartPre in example

Lucas Rolff January 11, 2019 05:24AM

Re: .service ExecStartPre in example

Olaf van der Spek January 11, 2019 05:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready