summaryrefslogtreecommitdiff
path: root/dev-db/etcd/files/etcd.service-r1
blob: e3b7015515100189e36169070e493d5799fac906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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_OPTS=--config-file /etc/etcd/etcd.conf.yml"
ExecStart=/usr/bin/etcd $ETCD_OPTS
Restart=always
RestartSec=10s
LimitNOFILE=40000

[Install]
WantedBy=multi-user.target