best way to restart process

Marko Cupać marko.cupac at mimar.rs
Wed Aug 19 08:37:51 UTC 2015


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,
-- 
Marko Cupać
https://www.mimar.rs/


More information about the freebsd-stable mailing list