mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-24 11:20:56 +00:00
Nginx Proxy Manager: ensure /tmp/nginx/body exists via openresty service ExecStartPre (#13528)
This commit is contained in:
committed by
GitHub
parent
e247a8ee8b
commit
70a9d99ecd
@@ -86,6 +86,7 @@ Wants=network-online.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
ExecStartPre=-/bin/mkdir -p /tmp/nginx/body /run/nginx
|
||||||
ExecStartPre=/usr/local/openresty/nginx/sbin/nginx -t
|
ExecStartPre=/usr/local/openresty/nginx/sbin/nginx -t
|
||||||
ExecStart=/usr/local/openresty/nginx/sbin/nginx -g 'daemon off;'
|
ExecStart=/usr/local/openresty/nginx/sbin/nginx -g 'daemon off;'
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ Wants=network-online.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
ExecStartPre=-/bin/mkdir -p /tmp/nginx/body /run/nginx
|
||||||
ExecStartPre=/usr/local/openresty/nginx/sbin/nginx -t
|
ExecStartPre=/usr/local/openresty/nginx/sbin/nginx -t
|
||||||
ExecStart=/usr/local/openresty/nginx/sbin/nginx -g 'daemon off;'
|
ExecStart=/usr/local/openresty/nginx/sbin/nginx -g 'daemon off;'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user