#!/bin/sh
exec 2>&1

export ETCD_DATA_DIR=/var/lib/etcd
export ETCD_NAME=etcd

[ -r conf ] && . ./conf
exec chpst -u etcd:etcd etcd
