Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install on debian ? #82

Closed
boogheta opened this issue Mar 2, 2015 · 5 comments
Closed

Install on debian ? #82

boogheta opened this issue Mar 2, 2015 · 5 comments
Labels
type: question a user support question

Comments

@boogheta
Copy link

boogheta commented Mar 2, 2015

Hello,

There is a debian directory which is supposed to help build a package for debian but since the new version, the package requires installation of upstart which would break most debian installs. So I tried instead to install v0.17, but although it seems to install everything properly, when it's getting to the configuration part, it crashes while trying to start the daemon, which makes sense because it's trying to call /etc/init.d/scrapyd which is not a file anymore but a link to /lib/init/upstart-job which obviously does not exist.

Does anyone know how to properly install the scrapyd service on Debian ? (I know how to install via pip, running scrapyd manually, I need it as a daemon service as the former releases provided)

@dfockler
Copy link
Contributor

This is for anyone else looking for this.
The ability to be daemonized is turned off in the CLI command when scrapyd is installed with pip. You need to run a which scrapyd see where that is, cat that file and you can see the -n added to the arguments which disables daemon mode in twistd. You should be able to delete the -n from the command list and be able to start scrapyd from the command line as a daemon. I'm not super familiar with Debian/Linux startup scripts, so if someone working on this project could comment as to why it's set up like this, that would be great :)

@Digenis Digenis added this to the 1.1 final bugfix milestone May 22, 2016
@Digenis
Copy link
Member

Digenis commented Jun 7, 2016

@boogheta, by "new version" do you mean debian8 or scrapyd1.1?

@boogheta
Copy link
Author

boogheta commented Jun 7, 2016

I meant scrapyd 1.x

@Digenis
Copy link
Member

Digenis commented Jun 7, 2016

The only relevant changes are #57 and #41,
the latter actually introducing the debian init script
so my question shouldn't have made sense.

You mean to say that the debian init script didn't work for you in the first place, right?

@Digenis Digenis removed this from the 1.1.1 milestone Nov 2, 2016
@jpmckinney jpmckinney added the type: question a user support question label Sep 23, 2021
@jpmckinney
Copy link
Contributor

Closing as no answer to clarification question for support request in 5 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question a user support question
Projects
None yet
Development

No branches or pull requests

4 participants