On Fri, 19 May 2017 09:28:34 +0100, Mike Scott wrote:
> On 18/05/17 22:31, Martin Gregorie wrote:
> ....
>>> I would imagine a startup script could be inserted into teh init.d
>>> system to, after the window manager stars up launch what apps in what
>>> window arrangements are desirable
>>>
>> Yes, that would work, and you could use frequently executed cron jobs
>> to detect that some application has fallen over and restart it,
>> emailing yo an alarm if it fails more than 'n' times in a row.
>
> Am I missing something here? What's wrong with each task being wrapped
> in a trivial shell script that loops forever, eg:
>
> while true; do xterm -e ssh myhost; mail root -s 'ssh exited'
>
That looks a bit aggressive: shouldn't it check that the process has in
fact crashed before restarting it?
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|