stacks/homelab/nzbget/run

14 lines
270 B
Bash
Executable File

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