Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ophélie Gagnard
slapos.package
Commits
ea6c7286
Commit
ea6c7286
authored
May 19, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include "slapos node collect" periodical run
Run slapos node collect every minute to take servers snapshot.
parent
c66e034d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
obs/slapos-node/template/slapos-node.cron.d
obs/slapos-node/template/slapos-node.cron.d
+3
-0
obs/slapos-node/template/slapos-node.logrotate
obs/slapos-node/template/slapos-node.logrotate
+11
-0
No files found.
obs/slapos-node/template/slapos-node.cron.d
View file @
ea6c7286
...
...
@@ -14,3 +14,6 @@ MAILTO=""
#
Run
"Booting"
on
every
system
start
@reboot
root
/
opt
/
slapos
/
bin
/
slapos
node
boot
>>
/
opt
/
slapos
/
log
/
slapos
-
node
-
format
.
log
2
>&
1
#
Run
"Collect"
once
a
minute
*
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapos
node
collect
>>
/
opt
/
slapos
/
log
/
slapos
-
node
-
collect
.
log
2
>&
1
obs/slapos-node/template/slapos-node.logrotate
View file @
ea6c7286
...
...
@@ -10,6 +10,17 @@
sharedscripts
}
/opt/slapos/log/slapos-node-collect.log {
nocompress
dateext
daily
rotate 14
missingok
notifempty
create 640 root root
sharedscripts
}
/opt/slapos/log/slapos-node-format.log {
nocompress
dateext
...
...
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