mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
fix logs
This commit is contained in:
parent
22567ec8bf
commit
9c8347672f
3 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ Environment="STATICMAP_SUBDOMAINS="
|
|||
Environment="MAP_ATTRIBUTION="
|
||||
Environment="WEATHER_API_KEY="
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
ExecStart=__INSTALL_DIR__/venv/bin/gunicorn -b 127.0.0.1:__PORT__ "fittrackee:create_app()" --error-logfile /var/log/__APP__/gunicorn.log
|
||||
ExecStart=__INSTALL_DIR__/venv/bin/gunicorn -b 127.0.0.1:__PORT__ "fittrackee:create_app()" --error-logfile /var/log/__APP__/__APP__.log
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ ynh_add_systemd_config --service="${app}_workers" --template="fittrackee_workers
|
|||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||
|
||||
yunohost service add "${app}" --description="Fittrackee main service" --log="/var/log/$app/$app.log" --log="/var/log/$app/gunicorn.log"
|
||||
yunohost service add "${app}" --description="Fittrackee main service" --log="/var/log/$app/$app.log"
|
||||
yunohost service add "${app}_workers" --description="Fittrackee task queue service" --log="var/log/$app/${app}_workers.log"
|
||||
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ ynh_add_systemd_config --service="${app}_workers" --template="fittrackee_workers
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||
|
||||
yunohost service add "${app}" --description="Fittrackee main service" --log="/var/log/$app/$app.log" --log="/var/log/$app/gunicorn.log"
|
||||
yunohost service add "${app}" --description="Fittrackee main service" --log="/var/log/$app/$app.log"
|
||||
yunohost service add "${app}_workers" --description="Fittrackee task queue service" --log="var/log/$app/${app}_workers.log"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue