#!/usr/bin/env bash

# Forcibly remove any stray UNIX sockets left behind from previous runs
rm -rf /var/run/privval.sock /var/run/app.sock

/usr/bin/app /tendermint/config/app.toml &

sleep 1

/usr/bin/tendermint "$@"
