- Create directory squid under /service/ to let supervise start Squid automatically
- Cmd: mkdir -p /service/squid
- Create a run file in /service/squid with the following content
- Change the permission to 755, so supervise can run it automatically
- Cmd
- chmod 755 /service/squid/run
- Note: You can verify if a service is started by supervise correctly by typing the following command.
- Note: Squid cannot start until you fill /usr/local/site/webroot/errordoc/squid/ with corresponding content later.
- Note: If Squid appears to restart and fail
in one second over and over again by itself, check the owner of the
folder /usr/local/site/squid/var/cache/ is mdrop:mdrop. And don't
forget to create the swap folder for Squid. (Squid -z option)
posted on 2009-07-21 14:45
Blog of JoJo 阅读(229)
评论(0) 编辑 收藏 所属分类:
每日一记 、
My Script