domniguard-linux-arm64 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/domniguard +0 -0
- package/install.sh +6 -0
- package/package.json +1 -1
package/bin/domniguard
CHANGED
|
Binary file
|
package/install.sh
CHANGED
|
@@ -65,6 +65,12 @@ chmod +x "$BIN_PATH"
|
|
|
65
65
|
|
|
66
66
|
# Existing installs: upgrade binary + unit only (never touch config/secrets).
|
|
67
67
|
if [ -x /usr/local/bin/domniguard ] && [ -f /etc/domniguard/config.yaml ]; then
|
|
68
|
+
case " $* " in
|
|
69
|
+
*" --fleet-role "*)
|
|
70
|
+
echo "domniguard: existing install detected, so fleet flags are not applied by the installer." >&2
|
|
71
|
+
echo "domniguard: run this instead: sudo domniguard setup $*" >&2
|
|
72
|
+
;;
|
|
73
|
+
esac
|
|
68
74
|
echo "Existing install detected — running upgrade..."
|
|
69
75
|
exec "$BIN_PATH" upgrade --local
|
|
70
76
|
fi
|