fix(fleet): shut down etcd after fleet

fleet needs to write to etcd while gracefully shutting
down, which typically requires the etcd unit to be
active locally. Define this relation explicitly in
the fleet unit with an After=etcd.service option.
This commit is contained in:
Brian Waldon 2014-06-05 09:59:50 -07:00 committed by Brian Waldon
parent 1314ba3e27
commit 0ec7c6902f
2 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
[Unit] [Unit]
Description=fleet Description=fleet
Wants=etcd.service Wants=etcd.service
After=etcd.service
[Service] [Service]
ExecStart=/usr/bin/fleet ExecStart=/usr/bin/fleet