mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
Fix goreleaser version to 1.6.3 (#266)
As status command relies on log, we should always use console as output Co-authored-by: mlsmaycon <mlsmaycon@gmail.com>
This commit is contained in:
@@ -12,8 +12,8 @@ fi
|
||||
cleanInstall() {
|
||||
printf "\033[32m Post Install of an clean install\033[0m\n"
|
||||
# Step 3 (clean install), enable the service in the proper way for this platform
|
||||
/usr/local/bin/wiretrustee service install
|
||||
/usr/local/bin/wiretrustee service start
|
||||
/usr/bin/wiretrustee service install
|
||||
/usr/bin/wiretrustee service start
|
||||
}
|
||||
|
||||
upgrade() {
|
||||
@@ -27,9 +27,9 @@ upgrade() {
|
||||
systemctl daemon-reload
|
||||
fi
|
||||
# will trow an error until everyone upgrade
|
||||
/usr/local/bin/wiretrustee service uninstall 2> /dev/null || true
|
||||
/usr/local/bin/wiretrustee service install
|
||||
/usr/local/bin/wiretrustee service start
|
||||
/usr/bin/wiretrustee service uninstall 2> /dev/null || true
|
||||
/usr/bin/wiretrustee service install
|
||||
/usr/bin/wiretrustee service start
|
||||
}
|
||||
|
||||
# Check if this is a clean install or an upgrade
|
||||
|
||||
@@ -22,7 +22,7 @@ remove() {
|
||||
|
||||
fi
|
||||
printf "\033[32m Uninstalling the service\033[0m\n"
|
||||
/usr/local/bin/wiretrustee service uninstall || true
|
||||
/usr/bin/wiretrustee service uninstall || true
|
||||
|
||||
|
||||
if [ "${use_systemctl}" = "True" ]; then
|
||||
|
||||
Reference in New Issue
Block a user