diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-07-15 01:26:39 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-07-15 01:26:39 +0100 |
commit | 726b399e4747032a3d052339cd62c57ae5b6767c (patch) | |
tree | aac8350e83bb13e9628dd287ca3aae97ecafcb32 /examples/worker1 | |
parent | ed637037b75cb5dfe1b49e776956fa6ab3632b68 (diff) |
pipeline from spool to worker is done -- added examples
Diffstat (limited to 'examples/worker1')
-rw-r--r-- | examples/worker1/allowed_users.asc | 62 | ||||
-rw-r--r-- | examples/worker1/allowed_users.pgp | bin | 0 -> 3073 bytes | |||
-rw-r--r-- | examples/worker1/worker1.cfg | 24 |
3 files changed, 86 insertions, 0 deletions
diff --git a/examples/worker1/allowed_users.asc b/examples/worker1/allowed_users.asc new file mode 100644 index 0000000..38bee5a --- /dev/null +++ b/examples/worker1/allowed_users.asc @@ -0,0 +1,62 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGiBEFi1/MRBADTOYQBLugy99OG588zPBaOhDPaCfeeB/XiMbMLdO6RzCCZtuU7 +e1G3I+8yIOLNUhfkmIT5Q7aU7FQA6OEexMvA3hijma7uLWs0GPGBC6U2XWEGVCcM +NNCVgZXv8JAEGdyWZmYBO+StYzp7tPhoujUMbY3ChPFes2IB1tlpJeYkuwCglKi6 +ENT7n1pp0ZL02HyW7sUeFIED/3X1G6hKpcO12KXhdl70bI1ELBEoXW8S6E5+zN9v +bj/3SDVMMc99k7vmxd8MVhQviCuwHdX9115fiuUcb6atSdtbXMvCR729rlH+QfCA +aEdJ5O784zcpaTaplRlSVhqbkqU0O0qs2Uwpzyq2YOmqOWaUoxWjaAEZ3MTinJ05 +FOIrA/4xN/kC0xJmqtAYg+IXnEM91pJaHVn1tlG0Us/ZUcV3qOBVzlxbELiYJY/P +f0RdSdJpsCglMeHMvKXYWDYeUwCxVnrX9QdY5U+o7jajW3CY+QXyiUOyB6Oxp1ZB +R9/Kzch8ZDG1efvhPS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Y BLOCK----- diff --git a/examples/worker1/allowed_users.pgp b/examples/worker1/allowed_users.pgp Binary files differnew file mode 100644 index 0000000..c083709 --- /dev/null +++ b/examples/worker1/allowed_users.pgp diff --git a/examples/worker1/worker1.cfg b/examples/worker1/worker1.cfg new file mode 100644 index 0000000..233afdd --- /dev/null +++ b/examples/worker1/worker1.cfg @@ -0,0 +1,24 @@ +# +# This is the typical worker configuration file. The file should be +# called "worker_config.cfg", and will be placed inside the worker +# directory. It defines the tags understood by the worker, with the +# corresponding list of commands +# +# + + +--- +w_tags: + [ + { + t_name: "LOG", + t_keyrings: ["allowed_users.asc"], + t_commands: [ + { + c_url: "file:///home/katolaz/bin/scorsh_script.sh" +## c_hash: "12da324fb76s924acbce" + } + ] + } + ] +...
\ No newline at end of file |