Skip to content

Commit

Permalink
Merge pull request #10 from ResolveWang/master
Browse files Browse the repository at this point in the history
fix issue#1
  • Loading branch information
ResolveWang authored Mar 8, 2018
2 parents 320f329 + 1a815c6 commit 8027034
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ENV LANG C.UTF-8
RUN apt update
RUN apt install squid -yq
RUN sed -i 's/http_access deny all/http_access allow all/g' /etc/squid/squid.conf
RUN service squid start
RUN cp /etc/squid/squid.conf /etc/squid/squid.conf.backup
RUN apt install python3 python3-pip -yq
RUN which python3|xargs -i ln -s {} /usr/bin/python
Expand Down
5 changes: 3 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
#!/bin/bash
nohup python crawler_booter.py --usage crawler common > crawler.log 2>&1 &
nohup python scheduler_booter.py --usage crawler common > crawler_scheduler.log 2>&1 &
nohup python crawler_booter.py --usage validator init > init_validator.log 2>&1 &
nohup python crawler_booter.py --usage validator https > https_validator.log 2>&1&
nohup python scheduler_booter.py --usage validator https > validator_scheduler.log 2>&1 &
python squid_update.py --usage https --internal 3
nohup python squid_update.py --usage https --internal 3 > squid.log 2>&1 &
squid -N -d1

0 comments on commit 8027034

Please sign in to comment.