fixed adoption of Mail
This commit is contained in:
parent
0ef02a64f3
commit
c2420a7b21
|
@ -101,8 +101,8 @@ class PyExec():
|
|||
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('-c', '--config', nargs="?", const='config.cfg', help='Specify a config file. Default is config.cfg')
|
||||
parser.add_argument('commands', nargs='+', help='Use Ansible, Packer, Http, Eval for declaring the tasks to poll for')
|
||||
parser.add_argument('-c', '--config', nargs="?", default='config.cfg', const='config.cfg', help='Specify a config file. Default is config.cfg')
|
||||
parser.add_argument('commands', nargs='+', help='Use Ansible, Packer, Http, Eval, Mail for declaring the tasks to poll for')
|
||||
args = parser.parse_args()
|
||||
pyexec = PyExec(args)
|
||||
pyexec.start()
|
||||
|
|
|
@ -11,4 +11,4 @@ done
|
|||
|
||||
echo 'Starting default workers...'
|
||||
|
||||
python3 PyExec.py Http Shell Eval
|
||||
python3 PyExec.py Http Shell Eval Mail
|
||||
|
|
Loading…
Reference in New Issue