summarylogtreecommitdiffstats
path: root/airvpn-suite.install
diff options
context:
space:
mode:
authorOpenSorcerer2021-04-20 18:48:02 +0200
committerOpenSorcerer2021-04-20 18:48:02 +0200
commit643766ad4f36cb634f7c506521b214727522346d (patch)
treec82197a96689115686fa7f354a94430f6ebaa940 /airvpn-suite.install
parent58d917a2d0df2a9a800cc1049b66a13368d01f77 (diff)
downloadaur-643766ad4f36cb634f7c506521b214727522346d.tar.gz
pkgrel bump: Remove cmake from makedepends; don't enable and start bluetit on install
Diffstat (limited to 'airvpn-suite.install')
-rw-r--r--airvpn-suite.install18
1 files changed, 1 insertions, 17 deletions
diff --git a/airvpn-suite.install b/airvpn-suite.install
index cb5b10562ee6..fe6a7d9fdf9b 100644
--- a/airvpn-suite.install
+++ b/airvpn-suite.install
@@ -4,29 +4,13 @@ post_install() {
useradd -Um airvpn
fi
chown -R airvpn:airvpn /etc/airvpn
-
- echo "#########################################################"
- echo "If you want to be able to execute goldcrest as your user,"
- echo "add yourself to the airvpn group, like this:"
- echo "sudo usermod -aG airvpn <username>"
- echo "#########################################################"
-
- # workaround for ExecStart path hardcoded in unit file
- # ln -s /usr/bin/bluetit /sbin/bluetit
-
systemctl daemon-reload
- systemctl enable bluetit.service
- systemctl start bluetit.service
}
pre_upgrade() {
systemctl stop bluetit.service
}
-post_upgrade() {
- systemctl start bluetit.service
-}
-
pre_remove() {
systemctl stop bluetit.service
systemctl disable bluetit.service
@@ -35,5 +19,5 @@ pre_remove() {
post_remove() {
userdel -r airvpn 2>/dev/null
getent group airvpn >/dev/null && gpasswd airvpn -M "" && groupdel airvpn
- # rm /sbin/bluetit
+ systemctl daemon-reload
}