Open the postgresql.conf config file:
$> mate /usr/local/var/postgres/postgresql.conf
Uncomment the line with 'log_destination' and set it to 'syslog'
log_destination = 'syslog'
Open the syslog config:
| # Load DSL and Setup Up Stages | |
| require 'capistrano/setup' | |
| # Includes default deployment tasks | |
| require 'capistrano/deploy' | |
| # Includes tasks from other gems included in your Gemfile | |
| # | |
| # For documentation on these, see for example: | |
| # |
| package main | |
| import ( | |
| "os" | |
| "github.com/mailgun/oxy/forward" | |
| "github.com/mailgun/oxy/roundrobin" | |
| "github.com/mailgun/oxy/testutils" | |
| "github.com/mailgun/oxy/utils" | |
| "net/http" |
| FROM alpine:latest | |
| RUN apk add -U bind-tools && rm -f /var/cache/apk/* | |
| ENTRYPOINT ["dig"] |
| Hi there, | |
| I'm having issues with Docker 1.8.1, on CoreOS(801) with a volume driver. | |
| #docker info | |
| Containers: 6 | |
| Images: 44 | |
| Storage Driver: overlay | |
| Backing Filesystem: extfs |
Open the postgresql.conf config file:
$> mate /usr/local/var/postgres/postgresql.conf
Uncomment the line with 'log_destination' and set it to 'syslog'
log_destination = 'syslog'
Open the syslog config:
| firewall { | |
| all-ping enable | |
| broadcast-ping disable | |
| ipv6-receive-redirects disable | |
| ipv6-src-route disable | |
| ip-src-route disable | |
| log-martians enable | |
| name WAN_IN { | |
| default-action drop | |
| description "Packets from Internet to LAN" |
| // example: go run ssh.go core myhost:22 "ps aux | head -n 5" | |
| package main | |
| import ( | |
| "log" | |
| "net" | |
| "os" | |
| "code.google.com/p/go.crypto/ssh" | |
| ) |
| FROM datadog/docker-dd-agent:latest | |
| RUN rm /etc/dd-agent/conf.d/haproxy.yaml.example | |
| ADD conf.d/haproxy.yaml /etc/dd-agent/conf.d/haproxy.yaml | |
| RUN sed -i -e"s/^.*histogram_percentiles:.*$/histogram_percentiles: 0.50, 0.75, 0.95, 0.99/" /etc/dd-agent/datadog.conf | |
| RUN sed -i -e"s/^.*histogram_aggregates:.*$/histogram_aggregates: max, median, avg, count/" /etc/dd-agent/datadog.conf |
| version: "2" | |
| services: | |
| zk: | |
| image: bobrik/zookeeper | |
| network_mode: host | |
| environment: | |
| ZK_CONFIG: tickTime=2000,initLimit=10,syncLimit=5,maxClientCnxns=128,forceSync=no,clientPort=2181 | |
| ZK_ID: 1 |
| // A small SSH daemon providing bash sessions | |
| // | |
| // Server: | |
| // cd my/new/dir/ | |
| // #generate server keypair | |
| // ssh-keygen -t rsa | |
| // go get -v . | |
| // go run sshd.go | |
| // | |
| // Client: |