mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-26 18:44:12 +00:00
- scrapy: which provides only the library and scrapy-ctl command - scrapy-service: which provides the service, upstart script, system user, etc This allows a clean install of just the library for those which are not interested in the Scrapy service. --HG-- rename : debian/scrapy.dirs => debian/scrapy-service.dirs rename : debian/scrapy.install => debian/scrapy-service.install rename : debian/scrapy.postinst => debian/scrapy-service.postinst rename : debian/scrapy.postrm => debian/scrapy-service.postrm rename : debian/scrapy.upstart => debian/scrapy-service.upstart rename : debian/conf/service_conf.py => debian/service_conf.py
14 lines
417 B
Python
14 lines
417 B
Python
# Scrapy service configuration
|
|
|
|
# Directory where logs will be stored (one per crawler)
|
|
LOG_DIR = '/var/log/scrapy'
|
|
|
|
# A dict containing the Scrapy projects that will be run by this service
|
|
# * Keys are paths to project settings modules
|
|
# * Values are number of processes that should be started for each project, or
|
|
# zero if you want to use the number of cores available.
|
|
PROJECTS = {
|
|
# 'mybot.settings': 0,
|
|
}
|
|
|