This commit is contained in:
Christian González 2018-06-30 10:22:34 +00:00 committed by GitHub
commit 196bfd3a5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,13 +80,14 @@ function start_up(){
return 1
fi
echo 'Pelican and HTTP server processes now running in background.'
echo "You can access the server now at http://localhost:$port with your browser."
}
###
# MAIN
###
[[ ($# -eq 0) || ($# -gt 2) ]] && usage
port=''
port='8000'
[[ $# -eq 2 ]] && port=$2
if [[ $1 == "stop" ]]; then