This repository was archived by the owner on May 17, 2019. It is now read-only.

Description
Context
I'm installing td-agent on Amazon Linux 2 instance following the official installation guide.
Problem
I can't use sudo /etc/init.d/td-agent status command in Step 2: Launch Daemon of the guide.
When I execute sudo /etc/init.d/td-agent status, I get:
[ec2-user@ip-172-17-11-221 etc]$ sudo /etc/init.d/td-agent status
/lib/lsb/init-functions: line 22: /etc/redhat-lsb/lsb_log_message: No such file or directory
because there is not /etc/redhat-lsb directory on the instance. However I can use other commands(start, stop, restart) of td -agent.
How can I use td-agent status command on Amazon Linux 2?