We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c84c5f commit 309abecCopy full SHA for 309abec
install/vst-install-rhel.sh
@@ -1199,6 +1199,9 @@ if [ "$fail2ban" = 'yes' ]; then
1199
sed -i "${fline}s/true/false/" /etc/fail2ban/jail.local
1200
fi
1201
chkconfig fail2ban on
1202
+ /bin/mkdir -p /var/run/fail2ban
1203
+ sed -i "s/\[Service\]/\[Service\]\nExecStartPre = \/bin\/mkdir -p \/var\/run\/fail2ban/g" /usr/lib/systemd/system/fail2ban.service
1204
+ systemctl daemon-reload
1205
service fail2ban start
1206
check_result $? "fail2ban start failed"
1207
0 commit comments