-
Notifications
You must be signed in to change notification settings - Fork 10
/
dockerupdate.sh
executable file
·20 lines (19 loc) · 1.13 KB
/
dockerupdate.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
echo --------------Shutdown Apache------------------------------------------
#service apache2 stop
APP=/var/www/html
echo --------------------------------------------------------------------------
echo ----------------Create Database-------------------------------------------
echo ----------------Please Backup your database-------------------------------
echo --------------------------------------------------------------------------
php $APP/bin/console cache:clear
php $APP/bin/console doctrine:mig:mig --no-interaction
#php bin/console doctrine:migrations:migrate --no-interaction
echo --------------------------------------------------------------------------
echo -----------------Clear Cache----------------------------------------------
echo --------------------------------------------------------------------------
php $APP/bin/console cache:clear
php $APP/bin/console cache:warmup
echo --------------------------------------------------------------------------
echo -----------------------Updated the Jitsi-Admin correct------------------
echo --------------------------------------------------------------------------