[enh] Don't restore apps nginx conf in conf_nginx restore script (it's

done by apps)
This commit is contained in:
zamentur 2015-10-04 12:48:56 +02:00
parent ffc9bcaf33
commit 141937efdb

View file

@ -1,6 +1,7 @@
backup_dir="$1/conf/nginx"
sudo cp -a $backup_dir/. /etc/nginx/conf.d
# Copy all conf except apps specific conf located in DOMAIN.d
sudo find $backup_dir/ -mindepth 1 -maxdepth 1 -name '*.d' -or -exec sudo cp -a {} /etc/nginx/conf.d/ \;
# Restart to use new conf and certs
sudo service nginx restart