Rename binary to threshold and update build/release packaging

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
shadowdaoandClaude Sonnet 5.5 committed 2026-10-12 09:53:13 -07:00
1 parent 306960d24b
commit 5f5d35b9ff
23 files changed
+189 -258

No files matched your search

@@ -15,7 +15,7 @@
# # supply the url, or "env://" to name an environment variable
# # that contains the URL.
# database {
# url = "postgresql://boundary:boundarydemo@postgres.yourdomain.com:5432/boundary"
# url = "postgresql://threshold:thresholddemo@postgres.yourdomain.com:5432/threshold"
# }
# }
@@ -42,7 +42,7 @@
# purpose = "cluster"
# }
# # Root KMS configuration block: this is the root key for Boundary
# # Root KMS configuration block: this is the root key for Threshold
# # Use a production KMS such as AWS KMS in production installs
# kms "aead" {
# purpose = "root"
@@ -61,7 +61,7 @@
# key_id = "global_worker-auth"
# }
# # Recovery KMS block: configures the recovery key for Boundary
# # Recovery KMS block: configures the recovery key for Threshold
# # Use a production KMS such as AWS KMS for production installs
# kms "aead" {
# purpose = "recovery"
@@ -1,23 +0,0 @@
[Unit]
Description="HashiCorp Boundary - Identity-based access management for dynamic infrastructure"
Documentation=https://www.boundaryproject.io/docs
StartLimitIntervalSec=60
StartLimitBurst=3
[Service]
EnvironmentFile=-/etc/boundary.d/boundary.env
User=boundary
Group=boundary
ProtectSystem=full
ProtectHome=read-only
ExecStart=/usr/bin/boundary server -config=/etc/boundary.d/boundary.hcl
ExecReload=/bin/kill --signal HUP $MAINPID
KillMode=process
KillSignal=SIGINT
Restart=on-failure
RestartSec=5
TimeoutStopSec=30
LimitMEMLOCK=infinity
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,23 @@
[Unit]
Description="Threshold (fork of HashiCorp Boundary CE) - Identity-based access management for dynamic infrastructure"
Documentation=https://repo.anhonesthost.net/CyberCoveLLC/threshold
StartLimitIntervalSec=60
StartLimitBurst=3
[Service]
EnvironmentFile=-/etc/threshold.d/threshold.env
User=threshold
Group=threshold
ProtectSystem=full
ProtectHome=read-only
ExecStart=/usr/bin/threshold server -config=/etc/threshold.d/threshold.hcl
ExecReload=/bin/kill --signal HUP $MAINPID
KillMode=process
KillSignal=SIGINT
Restart=on-failure
RestartSec=5
TimeoutStopSec=30
LimitMEMLOCK=infinity
[Install]
WantedBy=multi-user.target
+1 -1
View File
@@ -2,7 +2,7 @@
if [ "$1" = "purge" ]
then
userdel boundary
userdel threshold
fi
exit 0
+1 -1
View File
@@ -2,7 +2,7 @@
set -eu
USER="boundary"
USER="threshold"
if ! id -u $USER > /dev/null 2>&1; then
useradd \