Skip to content

Commit

Permalink
Added systctl for debian
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Schoechlin committed Dec 6, 2017
1 parent bf4083d commit 1c71b19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions extension-files/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ if (grep -qi "Centos" /etc/os-release);then
semodule_package -m /var/run/zabbix/zabbix_agent.mod -o /var/run/zabbix/centos_zabbix_agent.pp
semodule -i /var/run/zabbix/centos_zabbix_agent.pp
fi

if (grep -qi "Debian" /etc/os-release);then
echo "kernel.dmesg_restrict=0" > /etc/sysctl.d/99-dmesg.conf
sysctl -p
fi

0 comments on commit 1c71b19

Please sign in to comment.