Add sysusers group and be a little more zealous about removing attrs

This commit is contained in:
martoko
2020-12-19 19:47:06 +01:00
parent 0db4879a8c
commit c6ea1b5225
3 changed files with 12 additions and 2 deletions

View File

@@ -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() {