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