apr 19 update

This commit is contained in:
Sharad Ahlawat
2022-04-19 13:38:56 -07:00
parent a0a9496aef
commit 18dd3d9761
208 changed files with 12435 additions and 1112 deletions

View File

@ -0,0 +1,20 @@
#!/usr/local/bin/bash
# Copyright (c) 2018-2021, diyIT.org
# All rights reserved.
#
# BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
# https://diyit.org/license/
#
#
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
echo "restarting gitea stuck at $Q"
tail /var/log/gitea/gitea.log
kill -9 `pgrep gitea` ; sleep 2 ; service gitea start
fi
# crontab - 5 * * * * /mnt/config/gitea-restart.sh

View File

@ -0,0 +1,9 @@
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____git-lfs-3.0.2_1
pkgp-freebsd-pkg____htop-3.1.2
pkgp-freebsd-pkg____nano-6.0
pkgp-freebsd-pkg____openldap-sasl-client-2.4.59
pkgp-freebsd-pkg____pkg-1.17.5_1
pkgp-freebsd-pkg____sudo-1.9.10

View File

@ -0,0 +1 @@
bash bash-completion gitea git-lfs htop nano openldap-sasl-client pkg sudo