I\'ve installed the scrapyd daemon on an EC2 server exactly as described in the documentation. Now I\'ve changed some of the configuration variables in /etc/scrapyd/c
Debian/Ubuntu:
sudo /etc/init.d/scrapyd restart
This turned out to be pretty simple.
Kill the process like this:
kill -INT $(cat /var/run/scrapyd.pid)
Then restart it like this:
/usr/bin/python /usr/local/bin/twistd -ny /usr/share/scrapyd/scrapyd.tac -u scrapy -g nogroup --pidfile /var/run/scrapyd.pid -l /var/log/scrapyd/scrapyd.log &
As far as I can tell, both commands need to be run as root.
If you have installed scrapyd via apt on an Ubuntu or Debian machine, the following should work:
sudo service scrapyd reload
Whether it will persist your scheduled spider runs I do not know know, however.