Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
897a581f
Commit
897a581f
authored
Mar 14, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: prevent logs filling up the disk
parent
8970aa93
Pipeline
#20144
failed with stage
in 0 seconds
Changes
3
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
software/ors-amarisoft/config/gnb.jinja2.cfg
software/ors-amarisoft/config/gnb.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-gnb.jinja2.cfg
software/ors-amarisoft/instance-gnb.jinja2.cfg
+7
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
897a581f
...
@@ -32,7 +32,7 @@ md5sum = b15e678779dee0a26746487990fedc01
...
@@ -32,7 +32,7 @@ md5sum = b15e678779dee0a26746487990fedc01
[template-lte-gnb]
[template-lte-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
_update_hash_filename_ = instance-gnb.jinja2.cfg
md5sum =
0b74993990a0dfa3c6429dc4ac716826
md5sum =
9c275dde5c485c05f92a9be053f10593
[template-lte-epc]
[template-lte-epc]
_update_hash_filename_ = instance-epc.jinja2.cfg
_update_hash_filename_ = instance-epc.jinja2.cfg
...
@@ -48,7 +48,7 @@ md5sum = 8cac0de54f54236e750ee85b98de8a31
...
@@ -48,7 +48,7 @@ md5sum = 8cac0de54f54236e750ee85b98de8a31
[gnb.jinja2.cfg]
[gnb.jinja2.cfg]
filename = config/gnb.jinja2.cfg
filename = config/gnb.jinja2.cfg
md5sum =
e75cf0ff989e982d805093b32357c8c5
md5sum =
655186dae112b1baf561ae320ed86eef
[ltelogs.jinja2.sh]
[ltelogs.jinja2.sh]
filename = ltelogs.jinja2.sh
filename = ltelogs.jinja2.sh
...
...
software/ors-amarisoft/config/gnb.jinja2.cfg
View file @
897a581f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#define USE_SRS 0
#define USE_SRS 0
{
{
log_options: "all.level=
debug,all.max_size=32
",
log_options: "all.level=
info,all.max_size=32,file.rotate=1G,file.path={{ directory['tmp'] }}
",
log_filename: "{{ directory['log'] }}/gnb.log",
log_filename: "{{ directory['log'] }}/gnb.log",
/* Enable remote API and Web interface */
/* Enable remote API and Web interface */
...
...
software/ors-amarisoft/instance-gnb.jinja2.cfg
View file @
897a581f
...
@@ -5,6 +5,7 @@ parts =
...
@@ -5,6 +5,7 @@ parts =
lte-gnb-config
lte-gnb-config
lte-enb-service
lte-enb-service
sdr-busy-promise
sdr-busy-promise
remove-tmp
monitor-base
monitor-base
publish-connection-information
publish-connection-information
...
@@ -14,6 +15,11 @@ eggs-directory = {{ eggs_directory }}
...
@@ -14,6 +15,11 @@ eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
offline = true
[remove-tmp]
# Remove old logs stored in tmp directory to prevent disk from becoming full
recipe = plone.recipe.command
command = rm -rf ${directory:tmp}/*
[slap-configuration]
[slap-configuration]
recipe = slapos.cookbook:slapconfiguration
recipe = slapos.cookbook:slapconfiguration
computer = {{ slap_connection['computer-id'] }}
computer = {{ slap_connection['computer-id'] }}
...
@@ -45,6 +51,7 @@ etc = ${:home}/etc
...
@@ -45,6 +51,7 @@ etc = ${:home}/etc
var = ${:home}/var
var = ${:home}/var
etc = ${:home}/etc
etc = ${:home}/etc
bin = ${:home}/bin
bin = ${:home}/bin
tmp = ${:home}/tmp
run = ${:var}/run
run = ${:var}/run
script = ${:etc}/run
script = ${:etc}/run
service = ${:etc}/service
service = ${:etc}/service
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment