Blame SOURCES/etcd.service

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