Move nzbget to proxmox nfs share
This commit is contained in:
parent
bac0b28f68
commit
2f9d0533e0
@ -22,6 +22,12 @@ all:
|
|||||||
group: "bin"
|
group: "bin"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
read_only: false
|
read_only: false
|
||||||
|
# Moxy shared volumes
|
||||||
|
- name: nzbget-config
|
||||||
|
path: /srv/volumes/moxy/nzbget
|
||||||
|
owner: "nobody"
|
||||||
|
group: "bin"
|
||||||
|
read_only: false
|
||||||
n2.thefij:
|
n2.thefij:
|
||||||
nfs_mounts:
|
nfs_mounts:
|
||||||
- src: 10.50.250.2:/srv/volumes
|
- src: 10.50.250.2:/srv/volumes
|
||||||
@ -48,9 +54,10 @@ all:
|
|||||||
group: "bin"
|
group: "bin"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
read_only: false
|
read_only: false
|
||||||
- name: nzbget-data
|
# Moxy shared volumes
|
||||||
path: /srv/volumes/nzbget
|
- name: nzbget-config
|
||||||
owner: "root"
|
path: /srv/volumes/moxy/nzbget
|
||||||
|
owner: "nobody"
|
||||||
group: "bin"
|
group: "bin"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
read_only: false
|
read_only: false
|
||||||
|
@ -7,7 +7,12 @@ job "nzbget" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
backup {
|
backup {
|
||||||
paths = ["/data/nzbget"]
|
paths = [
|
||||||
|
# Configuration
|
||||||
|
"/data/nzbget",
|
||||||
|
# Queued nzb files
|
||||||
|
"/data/media-write/Downloads/nzb",
|
||||||
|
]
|
||||||
# Because path is absolute
|
# Because path is absolute
|
||||||
restore_opts {
|
restore_opts {
|
||||||
Target = "/"
|
Target = "/"
|
||||||
|
@ -74,7 +74,7 @@ job "ipdvr" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
volume_mount {
|
volume_mount {
|
||||||
volume = "nzbget-data"
|
volume = "nzbget-config"
|
||||||
destination = "/config"
|
destination = "/config"
|
||||||
read_only = false
|
read_only = false
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ job "ipdvr" {
|
|||||||
|
|
||||||
resources {
|
resources {
|
||||||
cpu = 200
|
cpu = 200
|
||||||
memory = 200
|
memory = 300
|
||||||
memory_max = 500
|
memory_max = 500
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user