mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 00:46:58 +02:00
feat(dev-db/etcd): set restart service policy
This commit is contained in:
parent
5c400a9c21
commit
b539972254
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user