diff options
Diffstat (limited to 'opensnitch.install')
-rw-r--r-- | opensnitch.install | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/opensnitch.install b/opensnitch.install index f918711f0ee0..35f39b7406de 100644 --- a/opensnitch.install +++ b/opensnitch.install @@ -1,12 +1,21 @@ post_install() { - echo "Enable opensnitchd as a systemd service:" echo "" + echo "Enable opensnitchd as a systemd service:" echo "systemctl enable --now opensnitchd" + echo "" } post_upgrade() { - echo "Restart opensnitchd service:" 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 "" } |