[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> I've got a number of scripts that start processes that run in user
> space that I'd like to keep running.  (RH 7.2).  Is there a utility
> that would help me?  I know I can write a script that would do a ps
> periodically and make sure the process was still running and if not
> start it up, but I was just curious if there was a utility that would
> automate that process. I googled for something, but didn't see
> anything promising, except a reference to Big Brother.

Initd sounds like exactly what you need, except you'd
like to run it as a regular user process. The stock
init refuses to run as a non-root user, and doubtless
has a number of "I am root" assumptions coded in,
but it seems like it shouldn't be too hard to change
it to run as a user process that manages other user
processes. I'm a bit surprised it hasn't been done
already, but various Google attempts such as "userspace
init" turned up nothing.

If you don't mind your scripts starting at boot time,
the standard init might be enough for you.

Cheers,

-- Joe Knapka

-- 
I'm gonna do everything / silver and gold / but I got to
hurry up before I grow to old. -- Joe Strummer, 1952 -- 2002
If you really want to get my attention, don't reply to this;
instead, send mail to "jknapka .at. kneuro .dot. net."


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00176" href="msg00176.html">[ale] Looking for software to keep processes running.</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00164" href="msg00164.html">[ale] Looking for software to keep processes running.</a></strong>
<ul><li><em>From:</em> jwl at sgi.com (Jim Lynch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00172.html">[ale] Redhat training next week</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00174.html">[ale] Redhat training next week</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00170.html">[ale] Looking for software to keep processes running.</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00176.html">[ale] Looking for software to keep processes running.</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00173"><strong>Date</strong></a></li>
<li><a href="threads.html#00173"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>