Page 1 of 1

Synology Serviio Stop/Start

PostPosted: Tue Apr 08, 2014 4:01 pm
by hreintke
LS,

I have installed Serviio and Serviio console both on the same Synology NAS (DSM 5).
After updating the console installation (rename .htaccess and update to make add path work), both work.

Now I am investigating the transcoding process for my Bravia (2010) model.
For that I am regulary updating the loglevel of Serviio, in order to activate the serviio loglevel the process has to be stopped an restarted.

When I use package center and try to stop serviio I get the remark that first I have to stop serviio-console.
Only way to achieve that is un-install serviio console and re-install later. But the I have to re-apply the updates also again.

I tried to kill the Serviio process and restart with bin/serviio.sh but then serviio stops when disconnecting the putty (also using nohup).

So I am looking for :
- the place where serviio process is started at nas boot time or
- the place where package center stops/starts serviio to see if I can re-use that or make a local patch.

Does anyone know ?

Herman

Re: Synology Serviio Stop/Start

PostPosted: Wed Jun 11, 2014 3:29 pm
by patters
Have a look at /var/packages/Serviio/scripts/start-stop-status.sh

Note that you can't really run that manually because the script expects certain variables which only exist in the context of Package Center (like $SYNOPKG_PKGDEST). But you should be able to customize it to suit your needs.

Re: Synology Serviio Stop/Start

PostPosted: Sun Aug 03, 2014 10:37 pm
by patters
I would guess that the author of Serviio-console has declared a package dependency to Serviio. You could edit this out by editing that line out of the package INFO file on your NAS here:
/var/packages/Serviio-Console/INFO

...assuming the package name is indeed Serviio-Console (I'm not sure, I don't use it)