This repository was archived by the owner on Mar 4, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 44# ## get a password for the Drupal user 'admin'
55if [ -z " ${admin_passwd+xxx} " -o " $admin_passwd " = ' ' ]
66then
7- base_url=$( drush @bcl eval ' print $GLOBALS["base_url"]' )
7+ base_url=$( drush @btr eval ' print $GLOBALS["base_url"]' )
88 echo
99 echo " ===> Password for Drupal 'admin' on $base_url ."
1010 echo
Original file line number Diff line number Diff line change @@ -73,6 +73,18 @@ chmod 600 $file_rsa
7373# gdrive upload -f $file_rsa
7474
7575
76+ # ################## clean up and restart ############################
77+
78+ docker exec $container \
79+ killall mysqld
80+ docker exec $container \
81+ drush @local_btr --yes cc all
82+ docker exec $container \
83+ drush @local_bcl --yes cc all
84+
85+ docker restart $container
86+
87+
7688# ####### update the configuration of wsproxy and restart it #########
7789
7890# ## add on wsproxy apache2 config files for the new site
106118
107119# docker exec $container \
108120# /var/www/data/import.sh
109-
110-
111- # ######################## clean up ##################################
112-
113- docker exec $container \
114- killall mysqld
115- docker exec $container \
116- drush @local_btr --yes cc all
117- docker exec $container \
118- drush @local_bcl --yes cc all
You can’t perform that action at this time.
0 commit comments