Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2015 10:37:47 +0200
From:      Marko =?UTF-8?B?Q3VwYcSH?= <marko.cupac@mimar.rs>
To:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   best way to restart process
Message-ID:  <20150819103747.5c2ef288@efreet>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to setup diskless client whose only purpose is logging
of one user with permanent password into single RDP server via xfreerdp.
I know how to setup autostart of xfreerdp, but I don't know how to
restart if it exits for some reason (network problems etc.)

What is the best way to check if process is running and restart it if
it exits?

Thank you in advance,
--=20
Marko Cupa=C4=87
https://www.mimar.rs/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150819103747.5c2ef288>