github.com/swiftstack/proxyfs@v0.0.0-20201223034610-5434d919416e/saio/bin/start_etcd (about)

     1  #!/bin/bash
     2  
     3  sudo systemctl start proxyfs-etcd
     4  
     5  # To access from cmdline:
     6  #
     7  #   ETCDCTL_API=3 etcdctl --endpoints=http://localhost:2379 put foo bar
     8  #   ETCDCTL_API=3 etcdctl --endpoints=http://localhost:2379 get foo
     9  #   ETCDCTL_API=3 etcdctl --endpoints=http://localhost:2379 txn -i
    10  #     value("foo") = "bar"
    11  #
    12  #     put foo cat
    13  #
    14  #     put foo dog
    15  #