Page 1 of 1

Serviio 1.2 on DLINK DNS-320

PostPosted: Thu Mar 14, 2013 11:55 am
by sgagers
Can anyone axplain me how to install serviio 1.2 on NAS DLINK DNS-320?
I've seen that the last version that can be installed is 0.6.1.
Regards,

Sgagers

Re: Serviio 1.2 on DLINK DNS-320

PostPosted: Tue Mar 19, 2013 11:22 am
by sgagers
Hi,
i've successfully installed serviio 1.2 in mu DNS-320.
I've followed the instructions in the post:
"HOWTO: Serviio 1.1 on Zyxel NSA 325"
I updated ffmpeg to version 1.1.1
and i changed file serviiod.sh with this one:
  Code:
#!/bin/sh

# PROVIDE: serviio
# REQUIRE: LOGIN
# KEYWORD: shutdown

. /ffp/etc/ffp.subr

name="serviio"
#rcvar=`set_rcvar`
eval "set_rcval=\set_rcval:-'NO'}"
pc5dczc_msg=${pc5dczc_msg:-"serviio not serving"}

pidfile="/var/run/serviiod.pid"

start_cmd="${name}_start"
stop_cmd="${name}_stop"

required_files="/ffp/opt/serviio/bin/serviio.sh"
JAVA_HOME=/ffp/opt/java/jre

#load_rc_config $name

pc5dczc_start()
{                                               
    export JAVA_HOME
    /bin/sh /ffp/opt/serviio/bin/serviio.sh &   
        echo "serviio up"                       
}                                               
                                               
pc5dczc_stop()                                 
{                                               
    /bin/sh /ffp/opt/serviio/bin/serviio.sh -stop
        echo "serviio down"                     
}                                               
                                                 
                                                 
run_rc_command "$1" 



I'm not so capable to write script and i'm sure that this is not perfect but it works

it starts and works great (initially CPU is high due to Java).

Sgagers