mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Copy nginx conf on upgrade
This commit is contained in:
parent
d69aa88842
commit
25bb625228
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ db_name=$app
|
|||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sudo sed -i "s@__PATH__@$app@g" ../conf/nginx.conf*
|
||||
sudo sed -i "s@__FINALPATH__@$final_path/@g" ../conf/nginx.conf*
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
||||
# Stop Mastodon Services
|
||||
sudo systemctl stop mastodon-*.service
|
||||
|
|
Loading…
Reference in a new issue