On linux
I Have 2 Cpu 1.Masterproxy 2.Slaveproxy and I use rsync to backup
data in Masterproxy to Slaveproxy

I want to use Heartbeat control Squid When Squid stop in Masterproxy.
When Squid's Masterproxy stop ---> Squid's Slaveproxy start
In cast fail post I can use this but when Squid stop by command "service squid stop" Squid's Slaveproxy isn't running ... How?

And When Squid's Slaveproxy running...
Now I want to Switch Back to Masterproxy .... How?

Ps : Thx for answer
** The first time I do linux Plz Help Me**