We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2280bd5 commit 3fd8918Copy full SHA for 3fd8918
install/vst-install.sh
@@ -306,19 +306,13 @@ fi
306
# Backup nginx
307
service nginx stop > /dev/null 2>&1
308
if [ -e '/etc/nginx/nginx.conf' ]; then
309
- cp /etc/nginx/* $vst_backups/nginx/
310
-fi
311
-if [ -f '/etc/nginx/conf.d' ]; then
312
- cp -r /etc/nginx/conf.d $vst_backups/nginx/
+ cp -r /etc/nginx/* $vst_backups/nginx/
313
fi
314
315
# Backup httpd
316
service httpd stop > /dev/null 2>&1
317
if [ -e '/etc/httpd/conf/httpd.conf' ]; then
318
- cp /etc/httpd/conf/httpd.conf $vst_backups/httpd/
319
320
-if [ -e '/etc/httpd/conf.d' ]; then
321
- cp -r /etc/httpd/conf.d $vst_backups/httpd/
+ cp -r /etc/httpd/* $vst_backups/httpd/
322
323
324
# Backup bind
0 commit comments