apr 19 update
This commit is contained in:
@ -8,10 +8,13 @@
|
||||
#
|
||||
#
|
||||
|
||||
Q=`netstat -LAan | grep 3000 | cut -f3 -d" " | cut -f1 -d/`
|
||||
Q=`netstat -LAan | grep "*.3000" | cut -f3 -d" " | cut -f1 -d/`
|
||||
# Q is null if gitea service is not running
|
||||
|
||||
if [ ! "$Q" ] || [ $Q -ne 0 ]; then
|
||||
# 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
|
||||
echo "restarting gitea stuck at $Q"
|
||||
tail /var/log/gitea/gitea.log
|
||||
kill -9 `pgrep gitea` ; sleep 2 ; service gitea start
|
||||
|
6
jails/config/git/pkg-list-details.txt
Normal file
6
jails/config/git/pkg-list-details.txt
Normal file
@ -0,0 +1,6 @@
|
||||
pkgp-freebsd-pkg____bash-5.1.16
|
||||
pkgp-freebsd-pkg____bash-completion-2.11_1,2
|
||||
pkgp-freebsd-pkg____gitea-1.16.5_1
|
||||
pkgp-freebsd-pkg____nano-6.0
|
||||
pkgp-freebsd-pkg____openldap-sasl-client-2.4.59
|
||||
pkgp-freebsd-pkg____pkg-1.17.5_1
|
1
jails/config/git/pkg-list.txt
Normal file
1
jails/config/git/pkg-list.txt
Normal file
@ -0,0 +1 @@
|
||||
bash bash-completion gitea nano openldap-sasl-client pkg
|
Reference in New Issue
Block a user