Skip to content

Commit 53bb5af

Browse files
committed
daily
1 parent 55a1398 commit 53bb5af

File tree

6 files changed

+30
-3
lines changed

6 files changed

+30
-3
lines changed

debian-setup/debian-setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ rm -rf /var/lib/clamav /var/log/clamav
167167
rm -rf /etc/console-setup
168168

169169
# Packages used on top of SETUP_PACKAGES
170-
Pkg_install_quiet ssh sudo dirmngr
170+
Pkg_install_quiet ssh sudo dirmngr zstd
171171

172172
# Install SHYAML (config reader)
173173
Pkg_install_quiet python3-yaml

debian-setup/debian-setup2.sh

+8
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,14 @@ elif Data get-values-0 package.apt.extra | grep -z -F -x 'php7.4-fpm'; then
224224
PHP="7.4"
225225
elif Data get-values-0 package.apt.extra | grep -z -F -x 'php8.0-fpm'; then
226226
PHP="8.0"
227+
elif Data get-values-0 package.apt.extra | grep -z -F -x 'php8.1-fpm'; then
228+
PHP="8.1"
229+
elif Data get-values-0 package.apt.extra | grep -z -F -x 'php8.2-fpm'; then
230+
PHP="8.2"
231+
elif Data get-values-0 package.apt.extra | grep -z -F -x 'php8.3-fpm'; then
232+
PHP="8.3"
233+
elif Data get-values-0 package.apt.extra | grep -z -F -x 'php8.4-fpm'; then
234+
PHP="8.4"
227235
fi
228236
if [ -n "$PHP" ]; then
229237
export PHP
+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
if ! [ -x /usr/local/bin/testgam ]; then
2-
echo "WARNING: Please install testgam from debian-server-tools/mail/gamin_*_amd64/testgam" 2>&1
3-
echo "cp -v /usr/local/src/debian-server-tools/mail/gamin_0.1.10-4.1.bin/testgam /usr/local/bin/" 2>&1
2+
echo "WARNING: Installing testgam from debian-server-tools/mail/gamin_*_amd64/testgam" 2>&1
3+
echo "Can be built from gamin package" 2>&1
4+
cp -v /usr/local/src/debian-server-tools/mail/gamin_0.1.10-4.1.bin/testgam /usr/local/bin/
45
fi

security/fail2ban-conf/fail2ban.local

+2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22

33
loglevel = NOTICE
44

5+
allowipv6 = yes
6+
57
dbpurgeage = 648000
68

tools/chrony-stats.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
#
3+
# Display chrony statistics in a tabular form.
4+
#
5+
# VERSION :1.0.0
6+
# DATE :2025-03-08
7+
# AUTHOR :Viktor Szépe <[email protected]>
8+
# URL :https://github.com/szepeviktor/debian-server-tools
9+
# LICENSE :The MIT License (MIT)
10+
# BASH-VERSION :4.2+
11+
# LOCATION :/usr/local/bin/chrony-stats.sh
12+
13+
grep --invert-match --line-regexp '=\+' /var/log/chrony/statistics.log \
14+
| sed -e 's#^\s*Date.*#Date Time IP_Address Std_dev Est_offset Offset_sd Diff_freq Est_skew Stress Ns Bs Nr Asym#' \
15+
| column --table

webserver/apache-sites-available/Skeleton-site-ssl.conf

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@
182182
Include conf-available/wordpress.inc.conf
183183

184184
# Site specific
185+
#Alias "/storage/" "/home/${SITE_USER}/website/code/storage/app/public/"
185186
# Rewrite order: DirectoryMatch -> .htaccess -> Directory
186187
<DirectoryMatch "${DOCUMENT_ROOT}">
187188
#AllowOverride None

0 commit comments

Comments
 (0)