Move nzbget to proxmox nfs share

This commit is contained in:
IamTheFij 2023-02-27 11:35:53 -08:00
parent bac0b28f68
commit 2f9d0533e0
3 changed files with 18 additions and 6 deletions

View File

@ -22,6 +22,12 @@ all:
group: "bin"
mode: "0755"
read_only: false
# Moxy shared volumes
- name: nzbget-config
path: /srv/volumes/moxy/nzbget
owner: "nobody"
group: "bin"
read_only: false
n2.thefij:
nfs_mounts:
- src: 10.50.250.2:/srv/volumes
@ -48,9 +54,10 @@ all:
group: "bin"
mode: "0755"
read_only: false
- name: nzbget-data
path: /srv/volumes/nzbget
owner: "root"
# Moxy shared volumes
- name: nzbget-config
path: /srv/volumes/moxy/nzbget
owner: "nobody"
group: "bin"
mode: "0755"
read_only: false

View File

@ -7,7 +7,12 @@ job "nzbget" {
}
backup {
paths = ["/data/nzbget"]
paths = [
# Configuration
"/data/nzbget",
# Queued nzb files
"/data/media-write/Downloads/nzb",
]
# Because path is absolute
restore_opts {
Target = "/"

View File

@ -74,7 +74,7 @@ job "ipdvr" {
}
volume_mount {
volume = "nzbget-data"
volume = "nzbget-config"
destination = "/config"
read_only = false
}
@ -87,7 +87,7 @@ job "ipdvr" {
resources {
cpu = 200
memory = 200
memory = 300
memory_max = 500
}
}