Esempio n. 1
0
def process(args):
    fs = abdt_fs.initialise_here()

    config = _DEFAULT_CONFIG.format(
        arcyd_email=args.arcyd_email,
        sys_admin_emails=' '.join(args.sys_admin_emails),
        sendmail_binary=args.sendmail_binary,
        sendmail_type=args.sendmail_type,
        sleep_secs=args.sleep_secs)

    fs.create_root_config(config)
def process(args):
    fs = abdt_fs.initialise_here()

    config = _DEFAULT_CONFIG.format(
        arcyd_email=args.arcyd_email,
        sys_admin_emails=' '.join(args.sys_admin_emails),
        sendmail_binary=args.sendmail_binary,
        sendmail_type=args.sendmail_type,
        sleep_secs=args.sleep_secs)

    if args.external_report_command:
        config += "\n--external-report-command\n{}".format(
            args.external_report_command)

    print(config)

    fs.create_root_config(config)
Esempio n. 3
0
def process(args):
    fs = abdt_fs.initialise_here()

    config = _DEFAULT_CONFIG.format(
        arcyd_email=args.arcyd_email,
        sys_admin_emails=' '.join(args.sys_admin_emails),
        sendmail_binary=args.sendmail_binary,
        sendmail_type=args.sendmail_type,
        sleep_secs=args.sleep_secs,
        max_workers=args.max_workers)

    if args.external_report_command:
        config += "\n--external-report-command\n{}".format(
            args.external_report_command)

    print(config)

    fs.create_root_config(config)