May 1, 2025 update
This commit is contained in:
@ -14,7 +14,7 @@ Q=`netstat -LAan | grep "*.3000" | cut -f3 -d" " | cut -f1 -d/`
|
||||
# 1537 is max stuck recvQ qlen limit when logging start:
|
||||
# sonewconn: pcb 0xfffff804b9f73d58: Listen queue overflow: 1537 already in queue awaiting acceptance (30 occurrences)
|
||||
|
||||
if [ ! "$Q" ] || [ $Q -ge 100 ]; then
|
||||
if [ ! $Q ] || [ $Q -ge 100 ]; then
|
||||
echo "restarting gitea stuck at $Q"
|
||||
tail /var/log/gitea/gitea.log
|
||||
kill -9 `pgrep gitea` ; sleep 2 ; service gitea start
|
||||
|
@ -1,94 +1,91 @@
|
||||
# # Sample Configuration for Gitea using SQLite
|
||||
#
|
||||
#
|
||||
# For information on the available settings, consult the online
|
||||
# documentation, or see the accompanying file app.ini.defaults, which
|
||||
# contains the settings incorporated into the gitea binary.
|
||||
#
|
||||
#
|
||||
# This sample configuration runs Gitea with a local database. Before
|
||||
# running this configuration, make sure to change the SECRET_KEY and the
|
||||
# INTERNAL_TOKEN at the end of this file. SECRET_KEY is a password of your
|
||||
# choosing, INTERNAL_TOKEN is a 64-byte random number in BASE64 encoding.
|
||||
# choosing, INTERNAL_TOKEN is a 64-byte random number in BASE64 encoding.
|
||||
# Your can generate the token using for example:
|
||||
# openssl rand -base64 64
|
||||
#
|
||||
#
|
||||
# There are no pre-configured users; the first user to register becomes an
|
||||
# admin. In this sample configuration, the HTTP server only listens on
|
||||
# localhost.
|
||||
#
|
||||
#
|
||||
# If you'd rather use the web-based installer, remove this conf/app.ini file
|
||||
# and make /usr/local/etc/gitea/conf writeable to the git user.
|
||||
APP_NAME = Ahlawat GIT
|
||||
RUN_USER = git
|
||||
RUN_MODE = prod
|
||||
WORK_PATH = /usr/local/share/gitea
|
||||
|
||||
[database]
|
||||
DB_TYPE = mysql
|
||||
HOST = 192.168.0.53:3306
|
||||
NAME = gitea
|
||||
USER = gitea
|
||||
PASSWD = mysql__gitea
|
||||
HOST = 192.168.0.53:3306
|
||||
NAME = gitea
|
||||
USER = gitea
|
||||
PASSWD = mysql__gitea
|
||||
|
||||
[indexer]
|
||||
ISSUE_INDEXER_PATH = /var/db/gitea/indexers/issues.bleve
|
||||
|
||||
[log]
|
||||
ROOT_PATH = /var/log/gitea
|
||||
MODE = file
|
||||
LEVEL = Info
|
||||
ENABLE_ACCESS_LOG = true
|
||||
ACCESS = file
|
||||
MODE = file
|
||||
LEVEL = Warn
|
||||
|
||||
[picture]
|
||||
DISABLE_GRAVATAR = true
|
||||
AVATAR_UPLOAD_PATH = /var/db/gitea/data/avatars
|
||||
DISABLE_GRAVATAR = true
|
||||
AVATAR_UPLOAD_PATH = /var/db/gitea/data/avatars
|
||||
|
||||
[repository]
|
||||
ROOT = /var/db/gitea/gitea-repositories
|
||||
|
||||
# Gitea's default is 'bash', so if you have bash installed, you can comment
|
||||
# this out.
|
||||
#SCRIPT_TYPE = sh
|
||||
|
||||
# SCRIPT_TYPE = sh
|
||||
[repository.upload]
|
||||
TEMP_PATH = /var/db/gitea/data/tmp/uploads
|
||||
|
||||
[security]
|
||||
INSTALL_LOCK = true
|
||||
INTERNAL_TOKEN = 1FFhAklka01JhgJTRUrFujWYiv4ijqcTIfXJ9o4n1fWxz+XVQdXhrqDTlsnD7fvz7gugdhgkx0FY2Lx6IBdPQw==
|
||||
SECRET_KEY = BeyondChangeMeBeforeRunningBell
|
||||
INSTALL_LOCK = true
|
||||
INTERNAL_TOKEN = 1FFhAklka01JhgJTRUrFujWYiv4ijqcTIfXJ9o4n1fWxz+XVQdXhrqDTlsnD7fvz7gugdhgkx0FY2Lx6IBdPQw==
|
||||
SECRET_KEY = BeyondChangeMeBeforeRunningBell
|
||||
IMPORT_LOCAL_PATHS = true
|
||||
|
||||
[session]
|
||||
COOKIE_SECURE = true
|
||||
COOKIE_SECURE = true
|
||||
|
||||
[server]
|
||||
DOMAIN = git.ahlawat.com
|
||||
PROTOCOL = https
|
||||
HTTP_ADDR = ::
|
||||
HTTP_PORT = 3000
|
||||
ROOT_URL = https://git.ahlawat.com/
|
||||
DISABLE_SSH = true
|
||||
SSH_DOMAIN = %(DOMAIN)s
|
||||
SSH_PORT = 22
|
||||
OFFLINE_MODE = false
|
||||
DOMAIN = git.ahlawat.com
|
||||
PROTOCOL = https
|
||||
HTTP_ADDR = ::
|
||||
HTTP_PORT = 3000
|
||||
ROOT_URL = https://git.ahlawat.com/
|
||||
DISABLE_SSH = true
|
||||
SSH_DOMAIN = %(DOMAIN)s
|
||||
SSH_PORT = 22
|
||||
OFFLINE_MODE = false
|
||||
APP_DATA_PATH = /var/db/gitea/data
|
||||
CERT_FILE = /mnt/certs/fullchain.pem
|
||||
KEY_FILE = /mnt/certs/privkeyr.pem
|
||||
LANDING_PAGE = explore
|
||||
CERT_FILE = /mnt/certs/fullchain.pem
|
||||
KEY_FILE = /mnt/certs/privkeyr.pem
|
||||
LANDING_PAGE = explore
|
||||
|
||||
[service]
|
||||
DISABLE_REGISTRATION = true
|
||||
DISABLE_REGISTRATION = true
|
||||
|
||||
[openid]
|
||||
ENABLE_OPENID_SIGNIN = false
|
||||
|
||||
[other]
|
||||
SHOW_FOOTER_BRANDING = false
|
||||
SHOW_FOOTER_VERSION = false
|
||||
SHOW_FOOTER_BRANDING = false
|
||||
SHOW_FOOTER_VERSION = false
|
||||
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
|
||||
|
||||
[oauth2]
|
||||
JWT_SECRET = 3giTtKAIflI_e9ixoU6ELHfxGaDkvFwHxDoPZQyZ0ak
|
||||
|
||||
[ui]
|
||||
#DEFAULT_THEME = arc-green
|
||||
|
@ -1,25 +0,0 @@
|
||||
BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
|
||||
|
||||
Copyright (c) 2018-2019, diyIT.org
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@ -1,6 +1,6 @@
|
||||
pkgp123____openldap26-client-2.6.3
|
||||
pkgp123____pkg-1.18.4
|
||||
pkgp-freebsd-pkg____bash-5.2.9
|
||||
pkgp-freebsd-pkg____bash-completion-2.11_1,2
|
||||
pkgp-freebsd-pkg____gitea-1.17.3
|
||||
pkgp-freebsd-pkg____nano-6.4
|
||||
pkgp123____gitea-1.23.6_1
|
||||
pkgp123____openldap26-client-2.6.9_1
|
||||
pkgp123____pkg-2.1.2
|
||||
pkgp-freebsd-pkg____bash-5.2.37
|
||||
pkgp-freebsd-pkg____bash-completion-2.14.0,2
|
||||
pkgp-freebsd-pkg____nano-8.4
|
||||
|
@ -1,6 +1,6 @@
|
||||
pkgp123____openldap26-client-2.6.3
|
||||
pkgp123____pkg-1.18.4
|
||||
pkgp-freebsd-pkg____bash-5.2.12
|
||||
pkgp-freebsd-pkg____bash-completion-2.11_2,2
|
||||
pkgp-freebsd-pkg____gitea-1.17.3
|
||||
pkgp-freebsd-pkg____nano-7.0
|
||||
pkgp123____gitea-1.23.6_1
|
||||
pkgp123____openldap26-client-2.6.9_1
|
||||
pkgp123____pkg-2.1.2
|
||||
pkgp-freebsd-pkg____bash-5.2.37
|
||||
pkgp-freebsd-pkg____bash-completion-2.14.0,2
|
||||
pkgp-freebsd-pkg____nano-8.4
|
||||
|
@ -5,14 +5,12 @@ FreeBSD: {
|
||||
|
||||
pkgp-freebsd-pkg: {
|
||||
url: "http://pkgp-freebsd-pkg.ahlawat.com/${ABI}/latest",
|
||||
mirror_type: "http",
|
||||
enabled: yes,
|
||||
priority: 10
|
||||
}
|
||||
|
||||
pkgp123: {
|
||||
url: "http://pkgp.ahlawat.com/packages/pj123-default",
|
||||
mirror_type: "http",
|
||||
signature_type: "pubkey",
|
||||
pubkey: "/mnt/certs/poudriere.cert",
|
||||
enabled: yes,
|
||||
|
Reference in New Issue
Block a user