diff options
| author | nemsia <nemsia@nemsia.org> | 2017-07-24 00:41:30 +0200 |
|---|---|---|
| committer | nemsia <nemsia@nemsia.org> | 2017-07-24 00:41:30 +0200 |
| commit | 1f948e706af0dc07a1befc26ed0a117af0d3c2b0 (patch) | |
| tree | 008d6f53d474f4b2dcafc15391514b96ad277732 /scripts/restore | |
| parent | d833f59222b6adacf8a5b559b450c6ebfcadbdea (diff) | |
| parent | 0d65ed87d9c1d63756e70e8574b29f64f8cb6903 (diff) | |
| download | mastodon_ynh-1f948e706af0dc07a1befc26ed0a117af0d3c2b0.tar.gz mastodon_ynh-1f948e706af0dc07a1befc26ed0a117af0d3c2b0.tar.bz2 mastodon_ynh-1f948e706af0dc07a1befc26ed0a117af0d3c2b0.zip | |
Merge branch 'master' of https://github.com/YunoHost-Apps/mastodon_ynh
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/restore b/scripts/restore index 5860e2c..30666df 100644 --- a/scripts/restore +++ b/scripts/restore @@ -162,7 +162,9 @@ yarn install --pure-lockfile #RAILS_ENV=production bin/bundle exec rails assets:precompile RCOMMANDS -# Restore nginx configuration files +# Modify Nginx configuration file and copy it to Nginx conf directory +sudo sed -i "s@__PATH__@$app@g" ./nginx.conf +sudo sed -i "s@__FINALPATH__@$final_path@g" ./nginx.conf sudo cp -a ./nginx.conf "$nginx_conf" # Restore crontab sudo cp -a ./cron.conf "$crontab_conf" |
