mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-16 09:48:57 +03:00
Add "Type=notify" on "etcd.service" file
if not set, it can show "forgot to set Type=notify in systemd service file?" at started.
This commit is contained in:
@@ -85,6 +85,7 @@ ExecStart=/usr/local/bin/etcd \\
|
|||||||
--data-dir=/var/lib/etcd
|
--data-dir=/var/lib/etcd
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
Type=notify
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user