Skip to content

Commit

Permalink
Updating systemd config for EL9
Browse files Browse the repository at this point in the history
  • Loading branch information
mtgrosser committed Jan 18, 2024
1 parent 18bc0a5 commit feaf704
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion systemd/nginx.service.d/ngxc.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[Service]
ExecStartPre=
ExecStartPre=/usr/bin/rm -f /run/nginx.pid
ExecStartPre=/usr/bin/ngxc /etc/nginx/nginx.ngxc /etc/nginx/nginx.conf
ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf
ExecReload=
ExecReload=/usr/bin/ngxc /etc/nginx/nginx.ngxc /etc/nginx/nginx.conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecReload=/usr/sbin/nginx -s reload

0 comments on commit feaf704

Please sign in to comment.