Skip to content

Instantly share code, notes, and snippets.

Bob Liu Akagi201

Block or report user

Report or block Akagi201

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View clean_docker_logs.sh
#!/bin/sh
echo "==================== start clean docker containers logs =========================="
logs=$(find /var/lib/docker/containers/ -name *-json.log)
for log in $logs
do
echo "clean logs : $log"
cat /dev/null > $log
View nsq.md

nsqd

  • nsqd -tls-cert='./server.crt' -tls-key='./server.key' -tls-required=1 --lookupd-tcp-address=127.0.0.1:4160 -tls-root-ca-file='./ca.crt' -tls-client-auth-policy='require-verify'
You can’t perform that action at this time.