Folks, When I see someone (or some how-to page) say: Put this entry into your startup script (usually something to run as a daemon), which of what look like a bazillion scripts should I use? I'm interested in running spamd and fetchmail, but I'm puzzled as to where to put those entries... Best, Pete -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter N. Spotts Science correspondent | The Christian Science Monitor One Norway Street, Boston MA 02115 Office: 617-450-2449 | Office in Home: 508-520-3139 pspotts@alum.mit.edu | www.csmonitor.com | www.peterspotts.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Friday 2004-03-19 at 18:58 -0500, Peter N. Spotts wrote:
When I see someone (or some how-to page) say: Put this entry into your startup script (usually something to run as a daemon), which of what look like a bazillion scripts should I use? I'm interested in running spamd and fetchmail, but I'm puzzled as to where to put those entries...
Nowhere. You only have to enable service "rcspamd", meaning executing "chkconfig spamd on". That's all. Or, fire up yast, runlevel properties somewhere. As for fetchmail, it is called from inside ip-up, which calls poll.tcpip. ip-up (in /etc/ppp) is called from the pppd daemon as soon as the network connection goes up (dial up). If you wan't to set it as an independent service, read "man init.d", and the corresponding suse manual chapter of the configuration book (paper or virtual, you choose). Use /etc/init.d/skeleton for a starting point. -- Cheers, Carlos Robinson
Thanks Carlos. Actually, I've gone into YaST2 several times to manually activate spamd and set it to start on runlevels 3 and 5. But when I shut my laptop down, then restart it later, spamd fails to restart during boot-up. I have to go back into YaST2 and reactivate it manually. Puzzling... Best, Pete -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter N. Spotts Science correspondent | The Christian Science Monitor One Norway Street, Boston MA 02115 Office: 617-450-2449 | Office in Home: 508-520-3139 pspotts@alum.mit.edu | www.csmonitor.com | www.peterspotts.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Friday 2004-03-19 at 23:19 -0500, Peter N. Spotts wrote:
Thanks Carlos. Actually, I've gone into YaST2 several times to manually activate spamd and set it to start on runlevels 3 and 5. But when I shut my laptop down, then restart it later, spamd fails to restart during boot-up. I have to go back into YaST2 and reactivate it manually. Puzzling...
Script /etc/init.d/spamd fails to run, or does it fail and the daemon spamd doesn't run? Check file /var/log/boot.msg to find out. To see if the script is set up to run, use "chkconfig spamd": nimrodel:~ # chkconfig spamd spamd on nimrodel:~ # -- Cheers, Carlos Robinson
participants (2)
-
Carlos E. R.
-
Peter N. Spotts