Created
October 20, 2016 02:43
-
-
Save alexcreek/6c4e0879e7dbec88232bbbf27685a080 to your computer and use it in GitHub Desktop.
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=nginx - high performance web server | |
Documentation=http://nginx.org/en/docs/ | |
After=network.target remote-fs.target nss-lookup.target | |
[Service] | |
Type=forking | |
KillMode=none | |
ExecStartPre=/usr/sbin/nginx -t | |
ExecStartPre=-/usr/bin/pkill -SIGQUIT nginx | |
ExecStart=/usr/sbin/nginx | |
ExecReload=/usr/sbin/nginx -s reload | |
ExecStop=/usr/sbin/nginx -t | |
ExecStop=/usr/sbin/nginx -s quit | |
PrivateTmp=true | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment