2cd1768
[Unit]
2cd1768
Description=Etcd Server
2cd1768
After=network.target
a139465
After=network-online.target
a139465
Wants=network-online.target
2cd1768
2cd1768
[Service]
4f33feb
Type=notify
Eric Paris 789d19d
WorkingDirectory=/var/lib/etcd/
ebf376c
EnvironmentFile=-/etc/etcd/etcd.conf
bcb6bec
User=etcd
7ab66f3
# set GOMAXPROCS to number of processors
766f1f0
ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/bin/etcd"
11f76e8
Restart=on-failure
11f76e8
LimitNOFILE=65536
2cd1768
2cd1768
[Install]
2cd1768
WantedBy=multi-user.target