Change file paths tonew name
This commit is contained in:
parent
d3c0aba10a
commit
b753feaaeb
@ -3,7 +3,7 @@ server {
|
|||||||
|
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
|
||||||
root /root/ft-corona-tracker/web;
|
root /root/ftracker/web;
|
||||||
|
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ rcvar="ftracker_enable"
|
|||||||
|
|
||||||
pidfile="/var/run/${name}.pid"
|
pidfile="/var/run/${name}.pid"
|
||||||
logfile="/var/log/${name}.log"
|
logfile="/var/log/${name}.log"
|
||||||
configfile="/root/ft-corona-tracker/res/ftracker.uwsgi.ini"
|
configfile="/root/ftracker/res/ftracker.uwsgi.ini"
|
||||||
|
|
||||||
command="/usr/local/bin/uwsgi";
|
command="/usr/local/bin/uwsgi";
|
||||||
command_args="--ini ${configfile} --daemonize ${logfile} --pidfile ${pidfile}"
|
command_args="--ini ${configfile} --daemonize ${logfile} --pidfile ${pidfile}"
|
||||||
|
@ -5,7 +5,7 @@ After=syslog.target network.target nginx.service
|
|||||||
# Configuration mostly stolen from from uwsgi docs
|
# Configuration mostly stolen from from uwsgi docs
|
||||||
[Service]
|
[Service]
|
||||||
User=www-data
|
User=www-data
|
||||||
ExecStart=/usr/bin/uwsgi --ini /root/ft-corona-tracker/res/ftracker.uwsgi.ini
|
ExecStart=/usr/bin/uwsgi --ini /root/ftracker/res/ftracker.uwsgi.ini
|
||||||
RuntimeDirectory=uwsgi
|
RuntimeDirectory=uwsgi
|
||||||
Restart=always
|
Restart=always
|
||||||
KillSignal=SIGQUIT
|
KillSignal=SIGQUIT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user