mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 5cf6a69007 into 29b93366cf
This commit is contained in:
commit
196bfd3a5a
1 changed files with 2 additions and 1 deletions
|
|
@ -80,13 +80,14 @@ function start_up(){
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo 'Pelican and HTTP server processes now running in background.'
|
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
|
# MAIN
|
||||||
###
|
###
|
||||||
[[ ($# -eq 0) || ($# -gt 2) ]] && usage
|
[[ ($# -eq 0) || ($# -gt 2) ]] && usage
|
||||||
port=''
|
port='8000'
|
||||||
[[ $# -eq 2 ]] && port=$2
|
[[ $# -eq 2 ]] && port=$2
|
||||||
|
|
||||||
if [[ $1 == "stop" ]]; then
|
if [[ $1 == "stop" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue