Skip to content

NODO-UH/master-cut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maste Cut

Master Cut is a tool for manage CUT and UNCUT the user quota. Each Quota Scraper service notify to Master Cut if an user over quota.

Table of Contents

Configuration

Master Cut recive requests from diferent Quota Scraper services, and each one is part of a group. For example, group Trabajadores have two Quota Scraper services, one per server, and shares the CUT file. So we need to tell to Master Cut what groups exists, and CUT file and script. For that, we use JSON configuration like that:

{
    "groups": [
        {
            "name": "trabajadores",
            "file": "trabajadores.cut",
            "script": "trabajadores.sh"
        }
    ]
}

Configuration path is set with argument --conf.