diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-22 23:10:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-22 23:10:37 +0200 |
| commit | 25bb625228981a94573c2ac13958938e01499da1 (patch) | |
| tree | 30f73429c555dac58e7b8532569afd22ffe1a4cb /scripts | |
| parent | d69aa88842b76de469ee6eb3e68bb0fa2c40b54d (diff) | |
| download | mastodon_ynh-25bb625228981a94573c2ac13958938e01499da1.tar.gz mastodon_ynh-25bb625228981a94573c2ac13958938e01499da1.tar.bz2 mastodon_ynh-25bb625228981a94573c2ac13958938e01499da1.zip | |
Copy nginx conf on upgrade
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/upgrade | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/upgrade b/scripts/upgrade index 8d45556..655f22f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 |
