|
#! /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
|