Autostart under Debian and Ubuntu

Linux and UNIX specific discussions
Post Reply
User avatar
Posts: 3
Joined: Fri Oct 29, 2010 2:51 pm
AV Hardware: Debian 5, Twonky 5.0.1, PS3, Freebox HD (Setupbox from french ISP)
Location: France

Autostart under Debian and Ubuntu

Post by sorcier » Thu Dec 02, 2010 2:15 pm


For people who are interested, i give you the way to start twonkymedia server under Debian and Ubuntu automatically.
For a default installation (/usr/local/twonkymedia)

Copy the script in /etc/init.d/ (in root mode or with sudo obviously)

Then create the symbolic links.

For Ubuntu (tried with 8.04 until 10.10) type these commands

sudo ln -s /etc/init.d/ /etc/rc2.d/S99mediaserver
sudo ln -s /etc/init.d/ /etc/rc6.d/K99mediaserver
sudo ln -s /etc/init.d/ /etc/rc0.d/K99mediaserver

For Debian (tried with 4 and 5) type these commands in root mode

ln -s /etc/init.d/ /etc/rc2.d/S99mediaserver
ln -s /etc/init.d/ /etc/rc6.d/K99mediaserver
ln -s /etc/init.d/ /etc/rc0.d/K99mediaserver

Enjoy ;)

Post Reply