Hi,
I have a shell script. And i want use last line script then exit, but when i run this script, its only waiting and then i must use ctrl+z keys. when i look ps -f CronClean.sh and /usr/local/etc/rc.d/proxy_monitor.sh start
running...
#CronClean.sh
ps -f | grep "proxy_monitor.sh" | awk '{print $1}' | xargs kill -9
/usr/local/etc/rc.d/squid.sh stop
rm -rf /var/squid/cache/
mkdir -p /var/squid/cache/
chown proxy
roxy /var/squid/cache/
chmod 777 /var/squid/cache/
squid -z
/usr/local/etc/rc.d/squid.sh start
sh /usr/local/etc/rc.d/proxy_monitor.sh start
Volkan