TT#51701 Switch from deprecated /var/run to /run

Change-Id: Ib7302bf3a4e2ec9005293d2bbd79849c2173b04a
changes/37/34537/1
Guillem Jover 6 years ago
parent 6b0da609e7
commit 922d035a8e

@ -13,8 +13,8 @@ User=www-data
Group=www-data
RuntimeDirectory=fastcgi
RuntimeDirectoryPreserve=yes
PIDFile=/var/run/fastcgi/ngcp-panel.pid
ExecStart=/usr/share/ngcp-panel/ngcp_panel_fastcgi.pl --listen /var/run/fastcgi/ngcp-panel.sock --pidfile /var/run/fastcgi/ngcp-panel.pid --nproc $NPROC
PIDFile=/run/fastcgi/ngcp-panel.pid
ExecStart=/usr/share/ngcp-panel/ngcp_panel_fastcgi.pl --listen /run/fastcgi/ngcp-panel.sock --pidfile /run/fastcgi/ngcp-panel.pid --nproc $NPROC
[Install]
WantedBy=multi-user.target

@ -9,7 +9,7 @@ server {
# adjust parameters for PSGI compatibility
fastcgi_param SCRIPT_NAME '';
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_pass unix:/var/run/fastcgi/ngcp-panel.sock;
fastcgi_pass unix:/run/fastcgi/ngcp-panel.sock;
}
location /static {
root /usr/share/ngcp-panel;

Loading…
Cancel
Save