Page 1 of 1

Stopping Twonky Media Server

Posted: Thu Jan 21, 2010 9:52 pm
by dave48
Sorry, dumb question, but how do you stop Twonky Mediaserver on Ubuntu? There are instructions in the 'ask' section of the website, but they don't work for me. I can't find where the relevant pid file is, and I've been spending too long trying to find it... Thanks

Re: Stopping Twonky Media Server

Posted: Thu Jan 21, 2010 11:16 pm
by mgillespie

Code: Select all

/etc/init.d/mediaserver stop

Re: Stopping Twonky Media Server

Posted: Sun Apr 04, 2010 2:50 pm
by fboecom
If you have installed twonky with sudo then there indeed is a file in /etc/init.d. In ubuntu 9.10 /tms 5.1.2 it is called twonkyserver however.
The neat way of stopping it, is:

Code: Select all

sudo /etc/init.d/twonkyserver stop
You could also have started twonky from the install directory, from a normal login. In that case you would stop it from there, but then the startup script is called twonkymedia.sh .... believe it or not.
Suppose you installed in /usr/local/twonkymedia, you would:

Code: Select all

/usr/local/twonkymedia/twonkymedia.sh stop
In any case, twonky can be stopped by the rude:

Code: Select all

sudo killall twonkymedia
So, you see, you need to be root to stop the twonkyserver from /etc/init.d or to kilall it; otherwise, you could with normal privileges if you were the owner of the process starting it from the install directory.

Also see my install guide:
http://www.twonkyforum.com/viewtopic.ph ... ntu#p28830