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

Write upstart/init scripts #1

Open
eth0izzle opened this issue Nov 15, 2016 · 6 comments
Open

Write upstart/init scripts #1

eth0izzle opened this issue Nov 15, 2016 · 6 comments

Comments

@eth0izzle
Copy link
Owner

Currently Needl will daemonize when passing in the --daemon flag. We should create the appropriate scripts so the OS can handle running it as a service.

We need to explore the different options and their pros/cons. Upstart, init.d or service?

@eth0izzle eth0izzle self-assigned this Nov 15, 2016
@skos-ninja
Copy link

Late to this but I would it also be worth looking at making this a docker image for us that like to run everything in containers?

@eth0izzle
Copy link
Owner Author

@skos-ninja great idea! I'll create a separate issue - would you like to take it on?

@skos-ninja
Copy link

Sure more than happy to!

@0x647262
Copy link

0x647262 commented Jun 16, 2017

Systemd / sysvinit scripts cover 99% of users.

I'll be opening a PR for the systemd unit shortly.

@Ekultek
Copy link

Ekultek commented Dec 13, 2017

Is running this as a service really a good idea? The failure that can occur outweighs the need for a service. I think daemonized should be more the enough. We’re talking possible terrible issues from a service script

@0x647262
Copy link

0x647262 commented Dec 13, 2017

Is running this as a service really a good idea?

It's no worse than running it standalone... The idea is that the service manager should run the process as an unprivileged user instead of running as root.

I'll update my pull request to reflect that.

The failure that can occur outweighs the need for a service

Elaborate?

I think daemonized should be more the enough. We’re talking possible terrible issues from a service script

Elaborate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants