diff --git a/scrapyd/Dockerfile b/scrapyd/Dockerfile index ddfcd79..24ced67 100644 --- a/scrapyd/Dockerfile +++ b/scrapyd/Dockerfile @@ -61,4 +61,4 @@ COPY ./scrapyd.conf /etc/scrapyd/ VOLUME /etc/scrapyd/ /var/lib/scrapyd/ EXPOSE 6800 -CMD ["scrapyd"] +CMD ["scrapyd", "--pidfile="] diff --git a/scrapyd/arm/Dockerfile b/scrapyd/arm/Dockerfile index 9e59cf2..1a58ff2 100644 --- a/scrapyd/arm/Dockerfile +++ b/scrapyd/arm/Dockerfile @@ -61,4 +61,4 @@ COPY ./scrapyd.conf /etc/scrapyd/ VOLUME /etc/scrapyd/ /var/lib/scrapyd/ EXPOSE 6800 -CMD ["scrapyd"] +CMD ["scrapyd", "--pidfile="] diff --git a/scrapyd/arm/scrapyd.conf b/scrapyd/arm/scrapyd.conf index 99e21a4..9fefdda 100644 --- a/scrapyd/arm/scrapyd.conf +++ b/scrapyd/arm/scrapyd.conf @@ -1,18 +1,18 @@ [scrapyd] -eggs_dir = /var/lib/scrapyd/eggs -logs_dir = /var/lib/scrapyd/logs -items_dir = /var/lib/scrapyd/items -dbs_dir = /var/lib/scrapyd/dbs -jobs_to_keep = 5 -max_proc = 0 -max_proc_per_cpu = 4 -finished_to_keep = 100 -poll_interval = 5 -http_port = 6800 -debug = off -runner = scrapyd.runner -application = scrapyd.app.application -launcher = scrapyd.launcher.Launcher +eggs_dir = /var/lib/scrapyd/eggs +logs_dir = /var/lib/scrapyd/logs +items_dir = /var/lib/scrapyd/items +dbs_dir = /var/lib/scrapyd/dbs +jobs_to_keep = 5 +max_proc = 0 +max_proc_per_cpu = 4 +finished_to_keep = 100 +poll_interval = 5 +http_port = 6800 +debug = off +runner = scrapyd.runner +application = scrapyd.app.application +launcher = scrapyd.launcher.Launcher [services] schedule.json = scrapyd.webservice.Schedule diff --git a/scrapyd/scrapyd.conf b/scrapyd/scrapyd.conf index 99e21a4..9fefdda 100644 --- a/scrapyd/scrapyd.conf +++ b/scrapyd/scrapyd.conf @@ -1,18 +1,18 @@ [scrapyd] -eggs_dir = /var/lib/scrapyd/eggs -logs_dir = /var/lib/scrapyd/logs -items_dir = /var/lib/scrapyd/items -dbs_dir = /var/lib/scrapyd/dbs -jobs_to_keep = 5 -max_proc = 0 -max_proc_per_cpu = 4 -finished_to_keep = 100 -poll_interval = 5 -http_port = 6800 -debug = off -runner = scrapyd.runner -application = scrapyd.app.application -launcher = scrapyd.launcher.Launcher +eggs_dir = /var/lib/scrapyd/eggs +logs_dir = /var/lib/scrapyd/logs +items_dir = /var/lib/scrapyd/items +dbs_dir = /var/lib/scrapyd/dbs +jobs_to_keep = 5 +max_proc = 0 +max_proc_per_cpu = 4 +finished_to_keep = 100 +poll_interval = 5 +http_port = 6800 +debug = off +runner = scrapyd.runner +application = scrapyd.app.application +launcher = scrapyd.launcher.Launcher [services] schedule.json = scrapyd.webservice.Schedule