Actually I'm not so sure whether i should use Shell Scripts, or if there some ways already. But whatever approach we use, i would like to keep a Service running all the time.
iptables as an example. Then ..
- Whenever the
stoppedor (in other words) not running, i want it to be
restarted) .. automatically whenever it stopped (or not running).
- In other more simple words, i want to keep a Service up and running all the time.
(May be i could give a fair frequency to check, if doing Real-time checking is the problem. So lets say, every 5 mins)
The only way i could think of, is to use Shell Scripts with Cron Tab.
- Is there any smart solution please?