feat(dev-db/etcd): set restart service policy

This commit is contained in:
Brandon Philips 2013-08-19 10:16:01 -07:00
parent 5c400a9c21
commit b539972254

View File

@ -9,5 +9,10 @@ PermissionsStartOnly=true
ExecStartPre=/usr/bin/etcd-pre-exec
ExecStart=/usr/bin/etcd-bootstrap
Restart=always
# Set a longish timeout in case this machine isn't behaving
# nicely and bothering the rest of the cluster
RestartSec=10s
[Install]
WantedBy=multi-user.target