summaryrefslogtreecommitdiff
path: root/sentinel-fwlogs/files/restart-proxy-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sentinel-fwlogs/files/restart-proxy-hook.sh')
-rwxr-xr-xsentinel-fwlogs/files/restart-proxy-hook.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sentinel-fwlogs/files/restart-proxy-hook.sh b/sentinel-fwlogs/files/restart-proxy-hook.sh
new file mode 100755
index 0000000..938adf4
--- /dev/null
+++ b/sentinel-fwlogs/files/restart-proxy-hook.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# restart Sentinel:FWLogs service
+/etc/init.d/sentinel-fwlogs restart
+# Apply logging rules
+/etc/init.d/firewall reload