Fork of with Debian packaging.
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

17 lines
373 B

STATUS="Status: Downloaded newer image for bigbluebutton/greenlight:v2"
new_status=$(sudo docker pull bigbluebutton/greenlight:v2 | grep Status:)
echo $new_status
if [ "$STATUS" == "$new_status" ]
cd /home/ubuntu/greenlight
sudo docker-compose down
sudo docker rmi $(sudo docker images -f dangling=true -q)
sudo docker-compose up -d
exit 0