Page 1 of 1

Is temp folder property respected?

PostPosted: Sun Feb 18, 2018 4:27 pm
by student975
Hi!

I have set temporary folder property:

  Code:
>>> sudo ps aux | grep java | grep serviio                                                           
root     11046 17.8  6.3 2915220 253296 ?      Sl   19:17   0:17 java -Xmx384M -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=/usr/share/java/serviio/library -Dserviio.home=/usr/share/java/serviio -Dffmpeg.location=ffmpeg -Dserviio.defaultTranscodeFolder=/data/sys/tmp -classpath /usr/share/java/serviio/lib/*:/usr/share/java/serviio/config org.serviio.MediaServer


Also, 777 for that folder:

  Code:
>>> ls -als /data/sys/tmp/                                                                           
total 1
1 drwxrwxrwx 2 root root 2 Feb 18 18:47  .

Nevertheless Serviio uses
  Code:
/tmp
(which is mapped to RAM and, as result, is fatal for NAS).

What have I missed?

(1.9 is in use as the last in AUR)

Re: Is temp folder property respected?

PostPosted: Sun Feb 18, 2018 4:47 pm
by atc98092
Did you set the temp location in the Serviio console? It's under the transcoding settings. Serviio uses it properly for me, and I have altered the location.

Re: Is temp folder property respected?

PostPosted: Sun Feb 18, 2018 6:35 pm
by student975
I have got information from wiki. Yes, your way (that is via console) seems to work, thanks!
Still interested in the original question if JAVA_OPT parameters are respected.

Re: Is temp folder property respected?

PostPosted: Sun Feb 18, 2018 6:55 pm
by atc98092
student975 wrote:I have got information from wiki. Yes, your way (that is via console) seems to work, thanks!
Still interested in the original question if JAVA_OPT parameters are respected.


Developer will have to answer that question, unless he's answered it for someone else and they can provide the answer.

Re: Is temp folder property respected?

PostPosted: Mon Feb 19, 2018 9:55 am
by zip
here's more info: http://serviio.org/index.php?option=com ... icle&id=43

I think this is the default value before you override it via the console setting. So used just after your first install.

Re: Is temp folder property respected?

PostPosted: Mon Feb 19, 2018 5:22 pm
by student975
zip wrote:here's more info: http://serviio.org/index.php?option=com ... icle&id=43

I think this is the default value before you override it via the console setting. So used just after your first install.

I guess it would be useful to mention settings priority somewhere in that referred article. Or, more strictly, to say the property is respected until the first Save click in the console.