mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +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_dotmpfilesd "${FILESDIR}"/${PN}.conf
|
||||
systemd_enable_service multi-user.target ${PN}.service
|
||||
}
|
||||
|
@ -1,7 +1,5 @@
|
||||
[Unit]
|
||||
Description=etcd
|
||||
After=cloud-config.target
|
||||
Wants=cloud-config.target
|
||||
|
||||
[Service]
|
||||
User=etcd
|
||||
@ -10,6 +8,3 @@ Environment=ETCD_DATA_DIR=/var/lib/etcd ETCD_NAME=default
|
||||
ExecStart=/usr/bin/etcd
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user