#!/bin/sh

export TS_STORE=bitcask
export TS_BITCASK_PATH=/var/lib/terrastate/bitcask

[ -r ./conf ] && . ./conf

exec 2>&1
exec chpst -u _terrastate:_terrastate terrastate 2>&1
