我用自制软件安装的nexus为什么不能作为服务启动

问题描述 投票:0回答:0

在较早的手动安装 nexus 2.15 之后,我已经使用 homebrew 干净安装了 nexus 3。 我已经从终端运行它,现在想要一个服务。 Homebrew 说它已重新启动,但它也被列为已停止:

(base) maarten@QuadBox ~ % brew info nexus
==> nexus: stable 3.38.1-01 (bottled)
Repository manager for binary software components
https://www.sonatype.org/
/usr/local/Cellar/nexus/3.38.1-01 (401 files, 146MB) *
  Poured from bottle using the formulae.brew.sh API on 2023-05-01 at 14:48:10
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/nexus.rb
License: EPL-1.0
==> Dependencies
Build: maven ✔
Required: openjdk@8 ✔
==> Requirements
Required: x86_64 architecture ✔
==> Caveats
To restart nexus after an upgrade:
  brew services restart nexus
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/nexus/bin/nexus start
==> Analytics
install: 6 (30 days), 61 (90 days), 695 (365 days)
install-on-request: 5 (30 days), 60 (90 days), 694 (365 days)
build-error: 0 (30 days)
(base) maarten@QuadBox ~ % brew services restart nexus
Stopping `nexus`... (might take a while)
==> Successfully stopped `nexus` (label: homebrew.mxcl.nexus)
==> Successfully started `nexus` (label: homebrew.mxcl.nexus)
(base) maarten@QuadBox ~ % brew services list         
Name    Status  User    File
dbus    none            
jenkins started maarten ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
nexus   stopped maarten ~/Library/LaunchAgents/homebrew.mxcl.nexus.plist
php     none            
unbound none            

我错过了什么?

我按照上面提到的所有步骤

java macos homebrew nexus
© www.soinside.com 2019 - 2024. All rights reserved.