summarylogtreecommitdiffstats
path: root/opensnitch.install
diff options
context:
space:
mode:
Diffstat (limited to 'opensnitch.install')
-rw-r--r--opensnitch.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/opensnitch.install b/opensnitch.install
new file mode 100644
index 000000000000..9cc39ffac720
--- /dev/null
+++ b/opensnitch.install
@@ -0,0 +1,21 @@
+post_install() {
+ echo ""
+ echo "Enable opensnitchd as a systemd service:"
+ echo "systemctl enable --now opensnitchd"
+ echo ""
+}
+
+post_upgrade() {
+ echo ""
+ echo "Restart opensnitchd service:"
+ echo "systemctl daemon-reload"
+ echo "systemctl restart opensnitchd"
+ echo ""
+}
+
+post_remove() {
+ echo ""
+ echo "Optionally remove log file:"
+ echo "sudo rm /var/log/opensnitchd.log"
+ echo ""
+}