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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to