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:
Mikhail Bragin
2022-03-14 13:16:16 +01:00
committed by GitHub
parent e3b809a1d4
commit 1660a915e2
6 changed files with 14 additions and 12 deletions

View File

@@ -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

View File

@@ -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