Update nexus.sh

This commit is contained in:
sdohuajia 2024-10-09 19:49:38 +08:00 committed by GitHub
parent a4fa98ff5a
commit 308bdd79bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,10 @@ show_status() {
esac
}
# 定义服务名称和文件路径
SERVICE_NAME="nexus"
SERVICE_FILE="/etc/systemd/system/$SERVICE_NAME.service"
# 主菜单函数
function main_menu() {
while true; do