diff options
author | 无闻 <u@gogs.io> | 2015-07-25 00:43:07 +0800 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2015-07-25 00:43:07 +0800 |
commit | 74511b1d5413f8da8f90d41da6703e493195db07 (patch) | |
tree | a2b078d6f324e69fe531fafe8b79a708feaa22ba | |
parent | 4ab60bbfbaf4d3d946a44dc32bd56c4b064340b2 (diff) | |
parent | 27fe9cfcba095ea42fb97764b869616d2079cdc1 (diff) |
Merge pull request #1277 from winfr34k/develop
Fix: "Port is blocked" issue
-rwxr-xr-x | packager/debian/postinst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packager/debian/postinst b/packager/debian/postinst index c0b06b02..964e8148 100755 --- a/packager/debian/postinst +++ b/packager/debian/postinst @@ -18,8 +18,6 @@ case "$1" in chown ${APP_USER}.${APP_GROUP} $(dirname ${APP_CONFIG}) [ -f ${APP_CONFIG} ] || ${CLI} run cp conf/app.ini ${APP_CONFIG} ${CLI} config:set USER=${APP_USER} - PORT=$(${CLI} config:get PORT || echo "6000") - sed -i "s|HTTP_PORT = 3000|HTTP_PORT = ${PORT}|" ${APP_CONFIG} sed -i "s|RUN_USER = git|RUN_USER = ${APP_USER}|" ${APP_CONFIG} sed -i "s|RUN_MODE = dev|RUN_MODE = prod|" ${APP_CONFIG} |