Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 851 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 851 Bytes

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.