Differences

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

Link to this comparison view

Next revision
Previous revision
systems:nginx.service [2018/01/23 01:57]
eServices Greece created
systems:nginx.service [2019/08/24 10:18] (current)
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 23: Line 24:
 [Install] [Install]
 WantedBy=multi-user.target WantedBy=multi-user.target
-</sxh> 
- 
-===== setup nginx.conf ===== 
-<sxh bash> 
-pid        /var/run/nginx/nginx.pid; 
-user nginx nginx; 
 </sxh> </sxh>