- Add is_installed() and is_running() checks to init.d - Show reason when service not running (disabled/not installed) - Enable gitea by default in UCI config - Require installation before starting Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
541 B
Plaintext
24 lines
541 B
Plaintext
config gitea 'main'
|
|
option enabled '1'
|
|
option http_port '3000'
|
|
option ssh_port '2222'
|
|
option http_host '0.0.0.0'
|
|
option data_path '/srv/gitea'
|
|
option memory_limit '512M'
|
|
option app_name 'SecuBox Git'
|
|
option domain 'git.local'
|
|
|
|
config server 'server'
|
|
option protocol 'http'
|
|
option disable_registration 'false'
|
|
option require_signin 'false'
|
|
option landing_page 'explore'
|
|
|
|
config database 'database'
|
|
option type 'sqlite3'
|
|
option path '/data/gitea.db'
|
|
|
|
config admin 'admin'
|
|
option username 'admin'
|
|
option email 'admin@localhost'
|