From: "Joseph C. Lininger" <jbahm@pcdesk.net>
To: <speakup@braille.uwo.ca>
Subject: Re: Question about using pid
Date: Mon, 20 Oct 2003 18:05:22 -0600 [thread overview]
Message-ID: <000a01c39767$078fdc00$6700a8c0@morgan> (raw)
In-Reply-To: <20031020171311.GE12274@rednote.net>
I'd check out the daemontools package.
http://cr.yp.to/ddaemontools.html
This tool has features to do what you want, plus a hole host of other stuff.
An alternative would be to use a script to monitor for changes in process
status, but this would be clumsy at best.
--
Joseph C. Lininger
jbahm@pcdesk.net
----- Original Message -----
From: "Janina Sajka" <janina@rednote.net>
To: <ma-linux@tux.org>; <speakup@braille.uwo.ca>
Sent: Monday, October 20, 2003 11:13 AM
Subject: Question about using pid
> I have a command that starts a process. Should that process die whilst
> I'm not at my computer, I want a script to restart it.
>
> How do I do this? What doc might I read that would provide examples?
>
> I presume I should launch the process so that it's pid is written to a
> file, and then I can just test for the running pid?
>
> But, I don't know how to go forward with this, so would appreciate all
> advice and direction.
>
>
> --
>
> Janina Sajka
> Email: janina@rednote.net
> Phone: (202) 408-8175
>
> Director, Technology Research and Development
> American Foundation for the Blind (AFB)
> http://www.afb.org
>
> Chair, Accessibility Work Group
> Free Standards Group
> http://accessibility.freestandards.org
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
prev parent reply other threads:[~ UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
Janina Sajka
` John covici
` Luke Davis
` Joseph C. Lininger
` Luke Davis
` Joseph C. Lininger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000a01c39767$078fdc00$6700a8c0@morgan' \
--to=jbahm@pcdesk.net \
--cc=speakup@braille.uwo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).