4ccc66ba

By: Michael Lynch <git@mtlynch.io>

Make command runners return startup errors

Move command setup into directly testable Main.Run methods and make SQLite and
handler construction return errors. Close databases on every ordinary failure
path while preserving Litestream's successful signal-shutdown behavior.