saikyo-server-security/debian/postinst

18 lines
345 B
Bash
Executable File

#!/bin/bash
set -e
# Применить sysctl настройки
sysctl --system > /dev/null 2>&1 || true
# Перезагрузить auditd
systemctl restart auditd > /dev/null 2>&1 || true
# Перезагрузить sshd
systemctl reload sshd > /dev/null 2>&1 || true
echo "Saikyo Server Security profile applied"
#DEBHELPER#
exit 0