mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
Fix install
This commit is contained in:
parent
e24453ff65
commit
1bcea9bb36
1 changed files with 2 additions and 1 deletions
|
@ -98,13 +98,14 @@ function configure_gunicorn()
|
|||
sudo cp ../conf/gunicorn.service /etc/systemd/system/$app.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo cp ../conf/gunicorn_config.py /opt/$app/
|
||||
chown $app:www-data /opt/$app/gunicorn_config.py
|
||||
}
|
||||
|
||||
function configure_nginx_and_ssowat()
|
||||
{
|
||||
# Reload Nginx and regenerate SSOwat conf
|
||||
sudo yunohost app addaccess $app -u $admin
|
||||
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||
sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue