summarylogtreecommitdiffstats
path: root/pulledpork.install
diff options
context:
space:
mode:
Diffstat (limited to 'pulledpork.install')
-rw-r--r--pulledpork.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/pulledpork.install b/pulledpork.install
new file mode 100644
index 000000000000..bb88fdcd5160
--- /dev/null
+++ b/pulledpork.install
@@ -0,0 +1,21 @@
+post_install() {
+cat << _EOF
+
+>>> You may want to ADJUST files in /etc/pulledpork/ directory
+
+>>> Default config is set up for emergingthreats open rules
+
+>>> By default rules auto-update every week if
+>>> file /etc/snort/rules/snort.rules exists
+
+>>> To use these rules in snort, you must include snort.rules
+>>> file in your snort.conf (if not already setup to be so)
+
+_EOF
+}
+
+post_upgrade() {
+ if (( $(vercmp $2 0.7.3-2) < 0)); then
+ systemctl --now enable pulledpork.timer
+ fi
+}