标签:vat notify char window rac view ffline run reg
app.ini
APP_NAME = Gitea: Git with a cup of tea RUN_USER = LSGX RUN_MODE = prod [oauth2] JWT_SECRET = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [security] INTERNAL_TOKEN = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx INSTALL_LOCK = true SECRET_KEY = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [database] DB_TYPE = sqlite3 HOST = 127.0.0.1:3306 NAME = gitea USER = lsgx PASSWD = qwe123 SSL_MODE = disable CHARSET = utf8 PATH = E:\gitservice\gitea\data\gitea.db [repository] ROOT = E:/gitservice/repositories [server] SSH_DOMAIN = 192.168.195.1 DOMAIN = 192.168.195.1 HTTP_PORT = 3000 ROOT_URL = http://192.168.195.1:3000/ DISABLE_SSH = false SSH_PORT = 22 LFS_START_SERVER = true LFS_CONTENT_PATH = E:/gitservice/gitea/data/lfs LFS_JWT_SECRET = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx OFFLINE_MODE = false START_SSH_SERVER = true LANDING_PAGE = explore [mailer] ENABLED = false [service] REGISTER_EMAIL_CONFIRM = false ENABLE_NOTIFY_MAIL = false DISABLE_REGISTRATION = false ALLOW_ONLY_EXTERNAL_REGISTRATION = false ENABLE_CAPTCHA = false REQUIRE_SIGNIN_VIEW = false DEFAULT_KEEP_EMAIL_PRIVATE = false DEFAULT_ALLOW_CREATE_ORGANIZATION = true DEFAULT_ENABLE_TIMETRACKING = true NO_REPLY_ADDRESS = noreply.example.org [picture] DISABLE_GRAVATAR = false ENABLE_FEDERATED_AVATAR = true [openid] ENABLE_OPENID_SIGNIN = true ENABLE_OPENID_SIGNUP = true [session] PROVIDER = file [log] MODE = file LEVEL = info ROOT_PATH = E:/gitservice/gitea/log
start_run.vbs
set wscriptObj = wscript.createObject("wscript.shell") wscriptObj.run "E:\gitservice\gitea\gitea-1.9-windows-4.0-amd64.exe", 0
reg_svc.bat
@echo off SET BINDIR=%~dp0 CD /D "%BINDIR%" sc create gitea start= auto binPath= ""%BINDIR%\gitea-1.9-windows-4.0-amd64.exe" web --config "%BINDIR%\custom\conf\app.ini"" pause
================ End
标签:vat notify char window rac view ffline run reg
原文地址:https://www.cnblogs.com/lsgxeva/p/11320995.html