mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
14 lines
247 B
Bash
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
|