Skip to content

Instantly share code, notes, and snippets.

@saidie
Created October 5, 2014 12:32
Show Gist options
  • Save saidie/591157d2c9e306ff43d4 to your computer and use it in GitHub Desktop.
Save saidie/591157d2c9e306ff43d4 to your computer and use it in GitHub Desktop.
Fluentd service file for systemd
[Unit]
Description=Fluentd
Documentation=http://www.fluentd.org/
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/fluentd -d /run/fluentd.pid
PIDFile=/run/fluentd.pid
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment