Skip to content

Commit

Permalink
script. fix suricata permissions on slave
Browse files Browse the repository at this point in the history
Fix suricata permissions on slave only if nethserver-suricata is installed.
  • Loading branch information
federicoballarini committed Jan 12, 2020
1 parent 3d6c4af commit 971eb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/usr/sbin/hotsync-slave
Expand Up @@ -89,7 +89,7 @@ if rpm -q --quiet nethserver-squidguard; then
chown -R ufdb:ufdb /var/ufdbguard/logs/
fi

if rpm -q --quiet nethserver-pulledpork; then
if rpm -q --quiet nethserver-suricata; then
chown -R suricata:suricata /etc/suricata/
fi

Expand Down

0 comments on commit 971eb84

Please sign in to comment.