I'm still learning about dockers and so this question might be really silly but hopefully someone can help me out. I'm trying to apply nice and ionice to the unrarcmd in nzbget. The problem is that if I try to do it like this
${AppDir}/nice -n 10 ionice -c2 -n4 unrar
The unpack just fails saying it can't find ${AppDir}/nice
I solved this by just making symlinks in the appdir folder pointing to /bin/nice and /bin/ionice but these symlinks will get destroyed every time the docker updates, won't they? Is there a better way to do this? I don't know if the path can be modified somehow to make it able to access nice and ionice without the symlink or maybe i'm just doing it completely wrong.