bundles/vnstat: add flag to generate statistics images, add to home.router
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
2d856a1e9a
commit
7d78ac9db8
6 changed files with 73 additions and 9 deletions
|
@ -6,8 +6,17 @@ files = {
|
|||
'svc_systemd:vnstat:restart',
|
||||
},
|
||||
},
|
||||
'/usr/local/bin/generate-vnstati': {
|
||||
'mode': '0755',
|
||||
},
|
||||
}
|
||||
|
||||
if node.metadata['vnstat'].get('generate-web-dashboard', False):
|
||||
files['/var/www/vnstat/index.html'] = {
|
||||
'content_type': 'mako',
|
||||
'context': node.metadata['vnstat'],
|
||||
}
|
||||
|
||||
svc_systemd = {
|
||||
'vnstat': {
|
||||
'needs': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue