1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pepettes_ynh.git synced 2024-09-03 19:56:35 +02:00

More ynh_install_python removal

This commit is contained in:
yalh76 2021-03-17 00:51:58 +01:00
parent 195a6a2cc3
commit 8c95179f41
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
command = '__PYTHON_PATH__/gunicorn'
command = '__FINALPATH__/venv/bin/gunicorn'
pythonpath = '__FINALPATH__'
workers = 4
user = '__APP__'

View file

@ -7,7 +7,7 @@ PIDFile=__FINALPATH__/__APP__-pid
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
ExecStart=__PYTHON_PATH__/gunicorn -c __FINALPATH__/venv/bin/gunicorn.py wsgi:app --pid __FINALPATH__/__APP__-pid
ExecStart=__FINALPATH__/venv/bin/gunicorn -c __FINALPATH__/gunicorn.py wsgi:app --pid __FINALPATH__/__APP__-pid
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
PrivateTmp=true

View file

@ -137,7 +137,7 @@ popd
ynh_script_progression --message="Configuring a systemd service..." --weight=1
# Create a dedicated systemd config
ynh_add_systemd_config
ynh_add_systemd_config
#=================================================
# MODIFY A CONFIG FILE

View file

@ -129,7 +129,7 @@ popd
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
# Create a dedicated systemd config
ynh_add_systemd_config
ynh_add_systemd_config
#=================================================
# MODIFY A CONFIG FILE