moved config to a json, which makes adding more variables easier, but perhaps otherwise adds complexity
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
SERVER="$1"
|
||||
if [ -z "$SERVER" ]
|
||||
then
|
||||
echo "SERVER is not set" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo Restarting service >&2
|
||||
case "$SERVER" in
|
||||
dev)
|
||||
touch main.py
|
||||
|
||||
Reference in New Issue
Block a user