From: B.A.McCauley@bham.ac.uk
To: "Richard Barndt" <richard@imt.net>
Subject: Re: HELP! How to spawn server on reboot
Date: 1997/01/29 [thread overview]
Message-ID: <B.A.MCCAULEY.97Jan29172117@wcl-l.bham.ac.uk> (raw)
In-Reply-To: 01bc0d5b$e97e8820$eaa6d4cc@RICHARD.COMP-UNLTD.COM
In article <01bc0d5b$e97e8820$eaa6d4cc@RICHARD.COMP-UNLTD.COM> "Richard Barndt" <richard@imt.net> writes:
>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?
Put in in your startup scripts. E.g. /etc/rc.d/rc.local (may have
another name, start at /etc/inittab follow the calls.) Alternatively
if you want it respawed whrn it dies put it directly in inittab.
> The process must run under a
>specific username (NOT root) to work correctly.
su username -c /home/username/bin/compit &
--
\\ ( ) No Bullshit! | Email: B.A.McCauley@bham.ac.uk
. _\\__[oo from | Phones: +44 121 471 3789 (home)
.__/ \\ /\@ /~) /~[ /\/[ | +44 121 627 2173 (voice) 2175 (fax)
. l___\\ /~~) /~~[ / [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
# ll l\\ ~~~~ ~ ~ ~ ~ | http://wcl-l.bham.ac.uk/~bam/
###LL LL\\ (Brian McCauley) | Finger: bam@wcl-rs.bham.ac.uk
next prev parent reply other threads:[~1997-01-29 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-28 5:00 HELP! How to spawn server on reboot Richard Barndt
1997-01-29 5:00 ` B.A.McCauley [this message]
1997-01-29 5:00 ` Bob Hauck
1997-01-30 5:00 ` Matthew Tovey
1997-01-31 5:00 ` Ron Wigmore - CNED/W97
-- strict thread matches above, loose matches on Subject: below --
1997-01-29 5:00 Jean-Pierre Radley
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox