Skip to content

Instantly share code, notes, and snippets.

@WhoAteDaCake
Created June 10, 2019 12:38
Show Gist options
  • Save WhoAteDaCake/6b47fc876851be42961a4c55a99539e7 to your computer and use it in GitHub Desktop.
Save WhoAteDaCake/6b47fc876851be42961a4c55a99539e7 to your computer and use it in GitHub Desktop.
td-agent restart
FILE=daemon.json
DIR=/etc/docker
sudo service td-agent-bit restart
sudo mkdir -p $DIR
cat > $FILE <<- EOM
{
"log-driver": "fluentd"
}
EOM
sudo mv $FILE $DIR
sudo systemctl restart docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment