mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
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:
parent
1314ba3e27
commit
0ec7c6902f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user