I am new to td-agent conf .I want to start td-agent as root user,I modified user and group in the /etc/init.d/td-agent as root .Ultimately systemctl want to do start and stop the service .But still ps -ef |grep td-agent shows as td-agent user.
Please provide your inputs.
I dont want to use this way bec I have to automate stopping td-agent wil be like I have to kill process "/opt/td-agent/usr/sbin/td-agent -vvv -c td-agent.conf"