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: f678f,dfe3a054bac4c806 X-Google-Attributes: gidf678f,public X-Google-Thread: fe1d2,dfe3a054bac4c806 X-Google-Attributes: gidfe1d2,public X-Google-Thread: 115614,dfe3a054bac4c806 X-Google-Attributes: gid115614,public From: jpr@jpr.com (Jean-Pierre Radley) Subject: Re: HELP! How to spawn server on reboot Date: 1997/01/29 Message-ID: #1/1 X-Deja-AN: 212889195 sender: news@xenitec.on.ca (xenitec.on.ca News Administrator) submit-to: scomsc@xenitec.on.ca content-type: text/plain; charset=US-ASCII precedence: bulk resent-from: mmdf@xenitec.on.ca organization: [resent by] The SCOMSC gateway and Propagation Society mime-version: 1.0 newsgroups: comp.os.linux.misc,comp.unix.osf.misc,comp.unix.sco.misc,comp.unix.aix Richard Barndt's CPU sent forth this bytestream: | 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. Try putting something in one of the /etc/rc*.d files that would do su some_user -c '/path/to/compit' -- Jean-Pierre Radley jpr@jpr.com XC/XT Custodian Sysop, CompuServe SCOForum