Hi folks,
after painfully searching for hours and hours, I would like you to know, how an autostart could be accomplished.
After installation, using the installscript (in my case) twonkymedia-i386-glibc-2.2.5-6.0.34.sh, you may setup autostart within debian, by first adapting the startup script "twonkyserver", located in /etc/init.d/.
Insert directly after
# Required-Start: $network $remote_fs
another line
# Required-Stop:
This will remove the error/warning which comes from init-rc.d or insserv.
It should be a good idea to take this little line into the official release to be LSB conform
Now change
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
to
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
This will allow TwonkyServer to also autostart in runlevel 2, which is the default runlevel in most Debian installations. It is the standard multiuser runlevel and will do the trick.
The last thing to do is to use init-rc.d or insserv to automatically create the symbolic links to the appropriate runlevels.
Navigate to /etc/init.d/ and use either
init-rc.d twonkyserver defaults
or
insserv twonkyserver -d
That's it!
Have Phun...
NobbyPop
PS:
I think this could be worth taking this into the official documentation. Could save lots of time and energy, google-ing.
Autostart TwonkyServer under Debian Linux 6.0
- DaemonBeetle
- Posts:305
- Joined:Mon Dec 28, 2009 11:05 am
- AV Hardware:Plex Media Server, Samsung Smart TV (2009 and 2013)
Re: Autostart TwonkyServer under Debian Linux 6.0
Ubuntu 11.04 requires the same changes (I just realised I made those changes when I installed it and forgot about them). It's probably worth cross-posting this to the Linux forum so others are aware.
No longer running Twonky