Thread: [Ddclient-support] [ddclient - Help] setup debian startup scripts
Brought to you by:
supersandro2000,
wimpunk
From: SourceForge.net <no...@so...> - 2007-03-13 09:40:39
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4205533 By: mrdleigh Linux newbie here! I have ddclient installed in a Debian Woody system in /usr/sbin with the configuration file in /etc/ddclient. It seems to work in "manual" mode...i.e. when I execute it explicitly. I'd like to set it up to run as a deamon with it starting at system startup. I've used the example startup file and created a ddclient startup script in /etc/init.d but one final thing escapes me. I've read about using update-rc.d to then establish the symbolic link in the /etc/rc?d directories to actually have the ddclient startup script invoked at startup, but it's not real clear to me and it appears that update-rc.d is only for "packages"? (and I don't think that ddclient is a "package" per se.) So, what I'm missing is what is the exact command to execute or procedure to follow to make this ddclient startup script execute at system startup and just where in the raft of things that get started should ddclient be started (i.e. dependencies, "runlevels" [which I don't really understand!]?) Thanks for any hand-holding-help you all can offer! ;c) ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2007-03-13 11:39:17
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4205695 By: wimpunk Hi, If you are a newbie, I would suggest to upgrade (or even better, reintall) to at least the current stable version of debian. I would even suggest you to use etch since it's almost ready to be distributed. Use the ddclient package supplied with debian and read the documentation about debian to get how init works. The init-scripts supplied with ddclient are as-is. Most of them are supplied by other users but most distributions change the scripts on every distribution so it's hard to be very accurate. Mostly they just need a little modification to get them running but you need a little understanding about the init implementation of your system to do it right. Greetings, wimpunk. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2007-03-13 12:18:13
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4205745 By: mrdleigh Unfortunately it's a special "education/school" distribution and I can't update it at the moment. (I'm the sys admin at a school and I can't re-create the world until this summer when school's out). So, I'm stuck with Woody at the moment. I just need some understanding from a Debian person what the steps are to get ddclient going at startup. Thanks! ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2007-03-13 13:10:38
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4205842 By: wimpunk Install the default ddclient package and, if necessary, replace the ddclient file by a more recent version. That's the easiest way to get it up and running. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2007-03-14 08:27:32
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4207179 By: mrdleigh I already have the most recent version of ddclient up and running..."manuall". What I'm missing is having it start with the system startup. I need some debian-specific help on the update-rc.d command, etc. Obviously that doesn't have to be you if you're not a debian person but someone on the forum, if they can help me with the debian-specific actions to get something into the "startup scripts", I'd appreciate it very much. Thanks! ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2007-03-14 21:48:43
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4208347 By: wimpunk I normally use sysvconfig to manage which program has to be started. You could also check the ddclient debian package and check what's inside... ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2007-03-19 11:28:06
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4214431 By: mrdleigh Of course, sysvconfig doesn't exist for Woody! ;c( (I'll be glad to finally get off this distro!) But all is not lost...here is what I found...finally...that connected the missing links in my understanding. In my linux system: /usr/share/doc/sysvinit/README.runlevels.gz This explained the various directories and the runlevel concepts Then I saw somewhere that one needed to use the update-rc.d command to create the links in the various /etc/rc?d directories to point to the ddclient script in /etc/init. It's these links that execute the scripts in /etc/init at startup and shutdown. I found more accessible info for update-rc.d at: http://www.infodrom.org/Debian/doc/maint/Maintenance-runlevel.html Note well, however, that the keyword listed in this page as "default" is really "defaults" (with an "s"). So, that was the missing link and hopefully that will help someone else avoid the same pain! ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |