fix: download binaries from JP01 :3000
CI / Test (push) Has been cancelled
CI / Build (amd64, linux) (push) Has been cancelled
CI / Build (arm64, linux) (push) Has been cancelled
CI / Build & Push Docker Image (push) Has been cancelled
CI / Release (push) Has been cancelled

This commit is contained in:
will
2026-10-22 18:36:05 +09:00
parent 8722fd2658
commit 5a13468942
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ const (
serviceName = "xboard-node.service" serviceName = "xboard-node.service"
serviceFilePath = "/etc/systemd/system/xboard-node.service" serviceFilePath = "/etc/systemd/system/xboard-node.service"
defaultInstallRoot = "/etc/xboard-node" defaultInstallRoot = "/etc/xboard-node"
downloadBase = "https://gitea.fp-will.xyz/will/xboard-node" downloadBase = "http://64.204.66.12:3000/will/xboard-node"
) )
var ( var (
@@ -1176,7 +1176,7 @@ func latestInstanceID(instances []*config.Config) string {
func regenerateServiceFile() error { func regenerateServiceFile() error {
unit := fmt.Sprintf(`[Unit] unit := fmt.Sprintf(`[Unit]
Description=Xboard Node Backend Description=Xboard Node Backend
Documentation=https://gitea.fp-will.xyz/will/xboard-node Documentation=http://64.204.66.12:3000/will/xboard-node
After=network-online.target After=network-online.target
Wants=network-online.target Wants=network-online.target
+2 -2
View File
@@ -27,7 +27,7 @@ DEFAULT_ACTION="install"
DEFAULT_RELEASE_VERSION="latest" DEFAULT_RELEASE_VERSION="latest"
DEFAULT_LOG_LEVEL="info" DEFAULT_LOG_LEVEL="info"
DEFAULT_KERNEL_LOG_LEVEL="warn" DEFAULT_KERNEL_LOG_LEVEL="warn"
DEFAULT_DOWNLOAD_BASE="https://gitea.fp-will.xyz/will/xboard-node/releases/download" DEFAULT_DOWNLOAD_BASE="http://64.204.66.12:3000/will/xboard-node/releases/download"
ACTION="${DEFAULT_ACTION}" ACTION="${DEFAULT_ACTION}"
MODE="" MODE=""
@@ -589,7 +589,7 @@ render_service() {
cat >"$TMP_DIR/${SERVICE_NAME}" <<EOF_UNIT cat >"$TMP_DIR/${SERVICE_NAME}" <<EOF_UNIT
[Unit] [Unit]
Description=Xboard Node Backend Description=Xboard Node Backend
Documentation=https://gitea.fp-will.xyz/will/xboard-node Documentation=http://64.204.66.12:3000/will/xboard-node
After=network-online.target After=network-online.target
Wants=network-online.target Wants=network-online.target