Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!helios!mtecv2!jgabriel From: jgabriel@mtecv2.mty.itesm.mx (Ing. J. Gabriel Ruiz P.) Newsgroups: alt.hackers Subject: Re: Updating running processes Message-ID: <3418@mtecv2.mty.itesm.mx> Date: 24 May 91 17:00:44 GMT References: Sender: news@mtecv2.mty.itesm.mx Distribution: alt Organization: ITESM. Campus Monterrey Lines: 31 Approved: jgabriel@mtecv2.mty.itesm.mx okunewck@psuvax1.cs.psu.edu (Phil OKunewick) writes: clarsen@lbl.gov (Case Larsen) writes: > E.g. > #!/bin/csh > /etc/server-process > exec $0 >> Ah, a supervisory process. That works, but I like this one better: >> ] #!/bin/sh >> ] while : >> ] do >> ] { insert your favorite process here } >> ] done Bot options work fine with normal server programs, but what happens if the server program is a deamon, this is, the server program goes to background when is runned? Example: #!/bin/sh while : do /usr/local/bin/ircd -x1 # run the IRC server done The ircd program runs in background, then the while loop runs again even the ircd program don't ends. Somebody knows an option to do the same thing, with this kind of programs? -- Juan Gabriel Ruiz Pinto Internet: Ing. Sistemas Electronicos jgabriel@mtecv2.mty.itesm.mx I.T.E.S.M. Campus Monterrey