Skip to content

Commit 73e76d9

Browse files
Run etcd as etcd user (#119)
1 parent bd06912 commit 73e76d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/etcd-member.service

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Restart=on-failure
1515
RestartSec=10s
1616
TimeoutStartSec=0
1717
LimitNOFILE=40000
18+
User=etcd
19+
Group=etcd
1820

1921
Environment="ETCD_DATA_DIR=/var/lib/etcd"
2022
Environment="ETCD_NAME=member${index}"

0 commit comments

Comments
 (0)