ansible/server/scripts/restart_squeezeserver.sh

9 lines
417 B
Bash
Executable File

#!/bin/bash
# To build
# cd /root/scripts/docker-images/squeezeserver
# docker build -t squeezeserver791 .
docker rm -f squeezeserver
docker run -d --name squeezeserver --restart=always -p 9090:9090 -p 9000:9000 -p 3483:3483 -p 3483:3483/udp -v /volumes/squeezeserver/state/:/mnt/state -v /volumes/squeezeserver/music/:/home/martin/Musik -v /volumes/squeezeserver/playlists/:/home/martin/Playlists squeezeserver791