stacks/homelab/sonarr/run

15 lines
311 B
Bash
Executable File

#! /bin/sh
image=lscr.io/linuxserver/sonarr
[ -f upgrade ] && podman pull $image && rm upgrade
me=$(basename $(pwd))
podman rm $me
podman run \
--name $me \
--network homelab \
--volume /srv/sys/sonarr:/config \
--volume /srv/media/tv:/srv/media/tv \
--volume /srv/incoming:/srv/incoming \
$image