摘要:
#!/bin/bashservice nginx statusif [ $? -ne 0 ];thenecho "nginx is down.try to restart now ! `date`" >> /check/check-logservice nginx start#echo "nginx restart success `date`"else echo "nginx is running well! `date`" >> /check/check-logfiecho "---------- 阅读全文
posted @ 2012-10-17 16:39
toxic
阅读(275)
评论(0)
推荐(0)

浙公网安备 33010602011771号