summarylogtreecommitdiffstats
path: root/nordvpn-bin.install
diff options
context:
space:
mode:
Diffstat (limited to 'nordvpn-bin.install')
-rw-r--r--nordvpn-bin.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/nordvpn-bin.install b/nordvpn-bin.install
index 0400c445c8b4..3437389789c9 100644
--- a/nordvpn-bin.install
+++ b/nordvpn-bin.install
@@ -1,6 +1,16 @@
post_install() {
echo ':: In order to enable nordvpn you have to start the following service:'
echo ' sudo systemctl enable --now nordvpnd'
+ echo ':: You have to add yourself to the nordvpn group to use it:'
+ echo " gpasswd -a USERNAME nordvpn"
+}
+
+pre_install() {
+ chattr -i /var/lib/nordvpn/data/*
+}
+
+pre_upgrade() {
+ chattr -i /var/lib/nordvpn/data/*
}
pre_remove() {