feat: etcd remove service/user
Build / build-9 (pull_request) Successful in 39s
Build / build-8 (pull_request) Successful in 41s

- change etcd to bin only, bump revision
This commit is contained in:
2025-01-26 16:25:18 +11:00
parent 7f18247e00
commit 3767107729
8 changed files with 1 additions and 45 deletions
-18
View File
@@ -1,18 +0,0 @@
[Unit]
Description=etcd key-value store
Documentation=https://github.com/etcd-io/etcd
After=network-online.target local-fs.target remote-fs.target time-sync.target
Wants=network-online.target local-fs.target remote-fs.target time-sync.target
[Service]
User=etcd
Type=notify
Environment=ETCD_DATA_DIR=/var/lib/etcd
Environment=ETCD_NAME=%m
ExecStart=/usr/bin/etcd
Restart=always
RestartSec=10s
LimitNOFILE=40000
[Install]
WantedBy=multi-user.target
@@ -1,2 +0,0 @@
#!/usr/bin/env bash
systemctl daemon-reload
@@ -1,3 +0,0 @@
#!/usr/bin/env bash
rm -f /usr/lib/systemd/system/etcd.service
systemctl daemon-reload
@@ -1,5 +0,0 @@
#!/usr/bin/env bash
groupadd --system etcd
useradd --system --shell /sbin/nologin --no-create-home --home-dir /var/lib/etcd --gid etcd etcd
mkdir -p /var/lib/etcd
chown etcd:etcd /var/lib/etcd
-2
View File
@@ -1,2 +0,0 @@
#!/usr/bin/env bash
systemctl stop etcd.service