Running a program as a service
nick at leippe.com
Mon Jan 8 13:46:42 MST 2007
On Monday 08 January 2007 12:38, Chris Carey wrote:
> What is the best way to get an application to be persistent, and
> auto-restart in case the process barfs?
> I recall some sort of "service' wrapper application to run this under
> but I haven't used this before.
You can use init (man inittab), djb's daemontools, or whatever rc template (if
any) ships with your distro.
Or write your own shell wrapper. (man wait)
More information about the PLUG