Stop.sh 322 B

123456789
  1. #!/bin/bash
  2. ContainerName=Nextcloud
  3. Path="/mnt/bigpart/Docker_files/"$ContainerName
  4. echo "Stop conteners"
  5. docker stop $ContainerName-nginx $ContainerName $ContainerName-postgresql
  6. docker rm $ContainerName-nginx $ContainerName $ContainerName-postgresql
  7. echo "Starting $Path/tmpfs_backup.sh"
  8. sh $Path/tmpfs_backup.sh