Created
August 21, 2021 14:38
-
-
Save lintmx/072ef33d14f36b32e39443c676705838 to your computer and use it in GitHub Desktop.
nginx.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=A high performance web server and a reverse proxy server | |
After=network.target network-online.target nss-lookup.target | |
[Service] | |
Type=forking | |
PIDFile=/var/run/nginx.pid | |
PrivateDevices=yes | |
SyslogLevel=err | |
ExecStart=/usr/sbin/nginx -g 'pid /run/nginx.pid; error_log stderr;' | |
ExecReload=/usr/sbin/nginx -s reload | |
KillSignal=SIGQUIT | |
KillMode=mixed | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment