From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,db36da9de7ba487f X-Google-Attributes: gidfee84,public From: peter@emily.oit.umass.edu (Peter deFriesse) Subject: Re: startup scripts under 4.0 Date: 1997/01/25 Message-ID: <5cdm51$59o@emily.oit.umass.edu>#1/1 X-Deja-AN: 212177005 references: <5c083l$35c@shoga.wwa.com> organization: The Gang of "Peters" newsgroups: comp.unix.osf.osf1 Somewhere off the top of my screen in article , the esteemed alex@srce.hr said: >Frank Jendraszak (fjj@sashimi.wwa.com) wrote: >> >> How or where do I add a line to start up a process at boot time? >> >> i.e., I'd like to start my own daemon at boot time. >> >> Do I put it into rc.config, rc.config.site? What is the syntax? > >Put a script that will start your daemon in /sbin/rc3.d directory. You >should name your script something like Sxxsomething, where xx is a >number (scripts are executed in alphabetic order). Your script should >accept at least 'start' and 'stop' parameters (for starting and >stopping your daemon). Look in existing scripts to see how it should >look like. > DANGER WILL ROBINSON! (I always wanted to type that.) Be aware that Some #*(^@&*%^ designed the system so that each script is sent a HUP after invocation. This "design feature" caused me endless hours of frustration with a number of commercial and shareware products. The "feature" may have been fixed at 4.0, but it is still in 3.2g -- peter defriesse \\ computing facilities management \\ OIT \\ UMass [OIT doesn't opine for me. I return that courtesy..] Sysadmins don't go to hell; we're already doing our time in purgatory.