Commit 972a1f33 authored by sehidcan's avatar sehidcan

fixes for fail2ban errors

parent 619ccaf5
......@@ -8,6 +8,15 @@ cd ${HOME}
# import variables using link of nodebook
source ${HOME}/egem_variables &>/dev/null
# workaround for fail2ban errors
if [ ! -f /var/log/auth.log ]; then
touch /var/log/auth.log &>/dev/null
chmod 640 /var/log/auth.log &>/dev/null
fi
mkdir -p /run/fail2ban &>/dev/null
chmod 755 -R /run/fail2ban
# remove legacy repository files (nodejs, yarn, golang)
# ubuntu16, ubuntu18, raspbian9
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment