Revision 73a967a6
Added by Julien Enselme almost 10 years ago
bin/d7-create-site.sh | ||
---|---|---|
66 | 66 |
touch "${d7_dir_individual_auto_backup}/${dir_site_name}/${current_date}.${dir_site_name}.sql" |
67 | 67 |
touch "${d7_dir_individual_auto_backup}/${dir_site_name}/${current_date}.${dir_site_name}.sql2" |
68 | 68 |
touch "${d7_dir_individual_auto_backup}/${dir_site_name}/${current_date}.${dir_site_name}.sql3" |
69 |
touch "${d7_dir_individual_auto_backup}/${dir_site_name}/${current_date}.${dir_site_name}.sql4}"
|
|
69 |
touch "${d7_dir_individual_auto_backup}/${dir_site_name}/${current_date}.${dir_site_name}.sql4" |
|
70 | 70 |
|
71 | 71 |
# Create and grant privileges on database |
72 | 72 |
mysql --defaults-extra-file="${myassos_cnf}" -e "CREATE DATABASE ${d7_site_name}" |
... | ... | |
98 | 98 |
|
99 | 99 |
### Update nginx_sites_map |
100 | 100 |
d7-generate-nginx-map.sh |
101 |
# Reload nginx |
|
102 |
#sudo service nginx reload |
|
101 | 103 |
|
102 | 104 |
commit "Creation of site: ${d7_site_name}" |
103 | 105 |
|
Also available in: Unified diff
Correct the script for nginx.