squeaknode/start-squeaknode.sh
2021-09-15 19:02:17 -07:00

14 lines
247 B
Bash

#!/usr/bin/env bash
# exit from script if error was raised.
set -e
# Start using the run server command
if [ -f config.ini ]; then
exec squeaknode \
--config config.ini \
--log-level INFO
else
exec squeaknode \
--log-level INFO
fi