fix: download binaries from JP01 :3000
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user