Created
December 3, 2015 06:49
-
-
Save udzura/b698259a5dfedbf2a94e to your computer and use it in GitHub Desktop.
systemd環境でのtd-agentのUnitファイル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Fluentd: data collector for Treasure Data | |
Documentation=http://docs.fluentd.org/ | |
After=network-online.target consul_agent.service | |
Wants=network-online.target | |
[Service] | |
Type=forking | |
PIDFile=/var/run/td-agent/td-agent.pid | |
ExecStart=/etc/rc.d/init.d/td-agent start | |
ExecStop=/etc/rc.d/init.d/td-agent stop | |
ExecReload=/etc/rc.d/init.d/td-agent reload | |
LimitNOFILE=65536 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment