stacks/homelab/radarr/run

15 lines
319 B
Bash
Executable File

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