Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
systems:nginx.service [2018/01/23 01:57]
eServices Greece created
systems:nginx.service [2018/03/05 05:30]
eServices Greece
Line 1: Line 1:
 +{{tag>centos systemd service nginx}}
 ====== Create the systemd service ====== ====== Create the systemd service ======
 ===== Create the service file ===== ===== Create the service file =====
Line 27: Line 28:
 ===== setup nginx.conf ===== ===== setup nginx.conf =====
 <sxh bash> <sxh bash>
-pid        /var/run/nginx/nginx.pid;+pid /var/run/nginx/nginx.pid;
 user nginx nginx; user nginx nginx;
 </sxh> </sxh>