Glossary:
- md: multiple devices
| command | description |
|---|---|
cat /proc/mdstat |
show status of all raids |
mdadm --detail /dev/md0 |
detailed status of raid md0 |
| [Unit] | |
| Description=consul-template | |
| Requires=network-online.target | |
| After=network-online.target consul.service vault.service | |
| [Service] | |
| EnvironmentFile=-/etc/sysconfig/consul-template | |
| Restart=on-failure | |
| ExecStart=/usr/local/sbin/consul-template $OPTIONS -config=/etc/consul-template.d |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "net/http" | |
| "github.com/codegangsta/martini" | |
| "github.com/garyburd/redigo/redis" | |
| "github.com/martini-contrib/render" |