mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Update start-socat.sh
This commit is contained in:
parent
397bfab594
commit
05b9e20025
1 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,11 @@ This program comes with ABSOLUTELY NO WARRANTY; for details read "'"$(pwd)/LICEN
|
|||
This is free software, and you are welcome to redistribute it under certain conditions; read "'"$(pwd)/LICENSE"'" for details.
|
||||
'
|
||||
|
||||
test -f ./config.sh || (echo "Configuration file missing!!!" ; exit 1)
|
||||
if [ -f ./config.sh ]; then
|
||||
echo "Configuration file missing!!!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
. ./config.sh
|
||||
echo "Listening at Port $PORT"
|
||||
if [ "$1" = "-d" -o "$1" = "--daemon" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue