mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 14:01:36 +02:00
Merge pull request #466 from polvi/drop-etcd-start
feat(etcd): no more auto start-up, must be explicit
This commit is contained in:
commit
10df5fd945
@ -37,5 +37,4 @@ src_install() {
|
|||||||
|
|
||||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||||
systemd_dotmpfilesd "${FILESDIR}"/${PN}.conf
|
systemd_dotmpfilesd "${FILESDIR}"/${PN}.conf
|
||||||
systemd_enable_service multi-user.target ${PN}.service
|
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=etcd
|
Description=etcd
|
||||||
After=cloud-config.target
|
|
||||||
Wants=cloud-config.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=etcd
|
User=etcd
|
||||||
@ -10,6 +8,3 @@ Environment=ETCD_DATA_DIR=/var/lib/etcd ETCD_NAME=default
|
|||||||
ExecStart=/usr/bin/etcd
|
ExecStart=/usr/bin/etcd
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user