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:
parent
195a6a2cc3
commit
8c95179f41
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
command = '__PYTHON_PATH__/gunicorn'
|
command = '__FINALPATH__/venv/bin/gunicorn'
|
||||||
pythonpath = '__FINALPATH__'
|
pythonpath = '__FINALPATH__'
|
||||||
workers = 4
|
workers = 4
|
||||||
user = '__APP__'
|
user = '__APP__'
|
||||||
|
|
|
@ -7,7 +7,7 @@ PIDFile=__FINALPATH__/__APP__-pid
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__FINALPATH__
|
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
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
ExecStop=/bin/kill -s TERM $MAINPID
|
ExecStop=/bin/kill -s TERM $MAINPID
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
|
|
|
@ -137,7 +137,7 @@ popd
|
||||||
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
||||||
|
|
||||||
# Create a dedicated systemd config
|
# Create a dedicated systemd config
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
|
|
|
@ -129,7 +129,7 @@ popd
|
||||||
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
|
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
|
||||||
|
|
||||||
# Create a dedicated systemd config
|
# Create a dedicated systemd config
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
|
|
Loading…
Add table
Reference in a new issue