You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/06/02 01:30:24 UTC
[GitHub] [incubator-druid] SamuelMarks edited a comment on issue #5715:
Systemd Service Unit Files
SamuelMarks edited a comment on issue #5715: Systemd Service Unit Files
URL: https://github.com/apache/incubator-druid/issues/5715#issuecomment-497990002
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
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org