Skip to content
This repository was archived by the owner on Mar 4, 2019. It is now read-only.

Commit 6786822

Browse files
committed
Fixing scripts.
1 parent c2fe28e commit 6786822

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

install/config/drupalpass.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
### get a password for the Drupal user 'admin'
55
if [ -z "${admin_passwd+xxx}" -o "$admin_passwd" = '' ]
66
then
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

utils/site-add.sh

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff 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
@@ -106,13 +118,3 @@ EOF
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

0 commit comments

Comments
 (0)