Skip to content

Commit f39a46b

Browse files
committed
allow port override
1 parent 7ac4f22 commit f39a46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set noglob
55
ORM_DB=db.sqlite
66
VERSION=0.0.1
77
IRC_SERVER_HOST=localhost
8+
PORT=${PORT:-6667}
89

910
declare -A SUBS
1011
# self explanatory
@@ -102,7 +103,6 @@ if [[ -z "$IRC_CONN_HANDLER" ]]; then
102103
);'
103104

104105
echo "i am the server" 1>&2
105-
PORT=6667
106106
echo -n "Starting server on port "
107107

108108
export IRC_CONN_HANDLER=true

0 commit comments

Comments
 (0)