vagrant/templates/guests/coreos/etcd.service.erb

11 lines
283 B
Plaintext

[Unit]
Description=Clustered etcd
#After=docker.service
[Service]
Restart=always
ExecStart=/usr/bin/etcd -c 4001 -s 7001 -h <%= options[:my_ip] %> <% if options[:connection_string] %>-C <%= options[:connection_string] %><% end %> -d /home/core/etcd
[Install]
WantedBy=local.target