You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
500 B
23 lines
500 B
#!/bin/bash
|
|
|
|
#date: 28/03/2022
|
|
#ki: fab
|
|
#koi: relancer tous les clouds et collabora (pour regagner de la RAM/SWAP)
|
|
|
|
KAZ_ROOT=$(cd "$(dirname $0)"/..; pwd)
|
|
. $KAZ_ROOT/bin/.commonFunctions.sh
|
|
setKazVars
|
|
. $DOCKERS_ENV
|
|
. $KAZ_ROOT/secret/SetAllPass.sh
|
|
|
|
#tous les clouds
|
|
for cloud in $(docker ps | grep -i nextcloudServ |awk '{print $12}')
|
|
do
|
|
docker restart $cloud
|
|
done
|
|
|
|
#tous les collabora
|
|
for colla in $(docker ps | grep -i officeServ |awk '{print $11}')
|
|
do
|
|
docker restart $colla
|
|
done
|
|
|