319373
[Unit]
319373
Description=Etcd Server
319373
After=network.target
12ae81
After=network-online.target
12ae81
Wants=network-online.target
319373
319373
[Service]
12ae81
Type=notify
18e3f8
WorkingDirectory=/var/lib/etcd/
18e3f8
EnvironmentFile=-/etc/etcd/etcd.conf
319373
User=etcd
be5080
# set GOMAXPROCS to number of processors
12ae81
ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/bin/etcd --name=\"${ETCD_NAME}\" --data-dir=\"${ETCD_DATA_DIR}\" --listen-client-urls=\"${ETCD_LISTEN_CLIENT_URLS}\""
94616a
Restart=on-failure
94616a
LimitNOFILE=65536
319373
319373
[Install]
319373
WantedBy=multi-user.target