fix(hlcc): stop archive and log growth
This commit is contained in:
parent
4f332eccfc
commit
0575da8a0d
3 changed files with 10 additions and 3 deletions
|
|
@ -65,10 +65,14 @@ assert.match(
|
|||
);
|
||||
assert.match(ini, /APP_NAME = 光湖代码频道/);
|
||||
assert.match(ini, /ROOT_URL = https:\/\/guanghulab\.com\/code\//);
|
||||
assert.match(ini, /\[repository\][\s\S]*DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true/);
|
||||
assert.match(ini, /REQUIRE_SIGNIN_VIEW = false/);
|
||||
assert.match(ini, /\[log\][\s\S]*MODE = console[\s\S]*LEVEL = Warn/);
|
||||
assert.match(ini, /SHOW_FOOTER_BRANDING = false/);
|
||||
assert.match(ini, /SHOW_FOOTER_VERSION = false/);
|
||||
assert.match(ini, /\[cron\.update_checker\][\s\S]*ENABLED = false/);
|
||||
assert.match(bootstrap, /stdout=None/);
|
||||
assert.doesNotMatch(bootstrap, /hlcc\.log|log_path\.open/);
|
||||
assert.match(unit, /^User=guanghu$/m);
|
||||
assert.match(unit, /^ProtectSystem=strict$/m);
|
||||
assert.match(unit, /^ReadOnlyPaths=__RELEASE_ROOT__$/m);
|
||||
|
|
|
|||
Loading…
Reference in a new issue