summarylogtreecommitdiffstats
path: root/nordvpn-bin.install
diff options
context:
space:
mode:
Diffstat (limited to 'nordvpn-bin.install')
-rw-r--r--nordvpn-bin.install11
1 files changed, 10 insertions, 1 deletions
diff --git a/nordvpn-bin.install b/nordvpn-bin.install
index a0e7a7b85da1..206594441336 100644
--- a/nordvpn-bin.install
+++ b/nordvpn-bin.install
@@ -2,7 +2,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:'
- echo " gpasswd -a USERNAME nordvpn"
+ echo " sudo gpasswd -a USERNAME nordvpn"
+ echo ':: You then have to restart for the group to be created:'
+ echo " reboot"
+}
+
+post_upgrade() {
+ 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:'
+ echo " sudo gpasswd -a USERNAME nordvpn"
echo ':: You then have to restart for the group to be created:'
echo " reboot"
}