Squid problem
Jan ' Kozo ' Vajda
jvajda na somi.sk
Pondělí Březen 23 09:19:15 CET 1998
:> A co treba: if ! ps -aux | grep squid | grep -v grep > /dev/null
:> then
:> restart_squid
:> fi
netyka sa to priamo squidu, ale pokial sa chcete vyhnut | grep -v grep, tak
to skuste takto:
if ! ps -aux | grep [s]quid > /dev/null
then
restart_squid
fi
K O Z O
===================================
Look At Your Young Man Fighting
Look At Your Woman Crying
Look At Your Young Man Dying
The Way They've Always Done Before
Další informace o konferenci Linux