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

Systemd Service Unit Files #5715

Closed
doc987 opened this issue Apr 28, 2018 · 4 comments
Closed

Systemd Service Unit Files #5715

doc987 opened this issue Apr 28, 2018 · 4 comments
Labels

Comments

@doc987
Copy link

doc987 commented Apr 28, 2018

Are there systemd unit files for running Druid as a service? The documentation suggests starting several terminal windows, and then running commands in each to start various Druid processes. What method is recommended for managing Druid in a production environment?

@schoren
Copy link

schoren commented Jul 26, 2018

Yes, I'd also like to know this!

@SamuelMarks
Copy link

SamuelMarks commented Jun 2, 2019

Found a couple:
https://github.com/MrAlias/druid/tree/master/templates
https://github.com/redBorder/redborder-druid/tree/master/resources/systemd

Or if you're just following the getting started guide:

$ cat /etc/systemd/system/druid.service
[Unit]
Description=Apache Druid Daemon
Documentation=http://druid.io
Requires=network.target
After=network.target

[Service]    
Type=simple
WorkingDirectory=/home/ubuntu/Downloads/apache-druid-0.14.2-incubating
User=ubuntu
Group=ubuntu
ExecStart=/home/ubuntu/Downloads/apache-druid-0.14.2-incubating/bin/supervise -c quickstart/tutorial/conf/tutorial-cluster.conf
#TimeoutSec=30
#Restart=on-failure

[Install]
WantedBy=default.target

@stale
Copy link

stale bot commented Mar 8, 2020

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions.

@stale stale bot added the stale label Mar 8, 2020
@stale
Copy link

stale bot commented Apr 5, 2020

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

@stale stale bot closed this as completed Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants