Welcome! Log In Create A New Profile

Advanced

.service ExecStartPre in example

January 11, 2019 05:12AM
What's the purpose of testing the configuration file in the systemd example?
Just starting the server seems simpler.. and the test isn't run prior to a restart request.


ExecStartPre=/usr/sbin/nginx -t

https://www.nginx.com/resources/wiki/start/topics/examples/systemd/
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: 78
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