stacks/homelab/lidarr/run

15 lines
317 B
Bash
Executable File

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