minecraft-pi-reborn/debian/usr/bin/minecraft-pi
2020-09-26 23:15:53 -04:00

16 lines
205 B
Bash
Executable File

#!/bin/sh
set -e
virgl_test_server &
PID="$!"
xhost local:root
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/docker-compose.yml"
${DOCKER_COMPOSE} up
${DOCKER_COMPOSE} down
kill "${PID}"