2 Description=Etcd Server
4 After=network-online.target
5 Wants=network-online.target
9 WorkingDirectory=/var/lib/etcd/
10 EnvironmentFile=-/etc/etcd/etcd.conf
12 # set GOMAXPROCS to number of processors
13 ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/bin/etcd --name=\"${ETCD_NAME}\" --data-dir=\"${ETCD_DATA_DIR}\" --listen-client-urls=\"${ETCD_LISTEN_CLIENT_URLS}\""
18 WantedBy=multi-user.target