#!/bin/sh
export ETCD_DATA_DIR=/var/lib/etcd
export ETCD_NAME=etcd
[ -r conf ] && . ./conf
exec chpst -u etcd:etcd etcd