From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,dfe3a054bac4c806 X-Google-Attributes: gid1103af,public X-Google-Thread: fe1d2,dfe3a054bac4c806 X-Google-Attributes: gidfe1d2,public X-Google-Thread: 115614,dfe3a054bac4c806 X-Google-Attributes: gid115614,public X-Google-Thread: f678f,dfe3a054bac4c806 X-Google-Attributes: gidf678f,public From: Matthew Tovey Subject: Re: HELP! How to spawn server on reboot Date: 1997/01/30 Message-ID: <32F0922D.4DAA@mail.cern.ch>#1/1 X-Deja-AN: 213206567 sender: news@news.cern.ch (USENET News System) x-nntp-posting-host: axpdp1.cern.ch references: <01bc0d5b$e97e8820$eaa6d4cc@RICHARD.COMP-UNLTD.COM> to: Richard Barndt content-type: text/plain; charset=us-ascii organization: CERN mime-version: 1.0 newsgroups: comp.os.linux.misc,comp.unix.osf.misc,comp.unix.sco.misc,comp.unix.aix x-mailer: Mozilla 3.01Gold (X11; I; OSF1 V3.2 alpha) Richard Barndt wrote: > > We have an in-house server product which helps us manage remote recompile > and distribution issues across all our supported platforms. The main > process receives recompile and copy commands and relays them to the rest of > the platforms, allowing us to recompile on 7 machines with a single > command. > > The problem is: every time one of our Unix machines is rebooted, someone > must remember to log in under the server's username and execute the > following commands: > % nohup bin/compit& > % exit > Jobs running > % exit > > Is there a way to do this automatically? The process must run under a > specific username (NOT root) to work correctly. All the other responses are correct, but under Digital Unix, the startup command should be put in the /sbin/rc3.d directory. Rather than adding the command to one of the files already there, create another (e.g. S999compit) and put the command in there. The scripts beginning with 'S' in this directory are executed in order at startup. Cheers, Matt -- Matt Tovey http://wwwcn.cern.ch/~mtovey Car service: If it ain't broke, we'll break it.