github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/saio/bin/start_etcd (about) 1 #!/bin/bash 2 3 # Copyright (c) 2015-2021, NVIDIA CORPORATION. 4 # SPDX-License-Identifier: Apache-2.0 5 6 sudo systemctl start proxyfs-etcd 7 8 # To access from cmdline: 9 # 10 # ETCDCTL_API=3 etcdctl --endpoints=http://localhost:2379 put foo bar 11 # ETCDCTL_API=3 etcdctl --endpoints=http://localhost:2379 get foo 12 # ETCDCTL_API=3 etcdctl --endpoints=http://localhost:2379 txn -i 13 # value("foo") = "bar" 14 # 15 # put foo cat 16 # 17 # put foo dog 18 #