diff options
author | Chinaman <root@chinaman> | 2011-09-06 19:47:58 +0200 |
---|---|---|
committer | Chinaman <root@chinaman> | 2011-09-06 19:47:58 +0200 |
commit | 108f3616e3f4958752d881192ef29e5fc4c2b045 (patch) | |
tree | 3c67478c852265219b72e6e1b05467d7065b7ba8 /Reaktor/IRC/README.md | |
parent | b2d65500160bcdf7abb2bf985f7da582b810e25c (diff) | |
parent | c3bc5a6d16868c121aca780f3109155797b51d76 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'Reaktor/IRC/README.md')
-rw-r--r-- | Reaktor/IRC/README.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Reaktor/IRC/README.md b/Reaktor/IRC/README.md new file mode 100644 index 00000000..63a0ebd2 --- /dev/null +++ b/Reaktor/IRC/README.md @@ -0,0 +1,49 @@ +# //Reaktor/IRC + +This component implements a remote shell daemon that exposes the +executable files (which may be symlinks) below +`//Reaktor/public_commands/` through IRC. + +## Security + +Access to the IRC server implies full access to all the exposed executable +files. The daemon is executing the commands without dropping privileges. + +## Quickstart + + #? /bin/sh + set -euf + + export nick="$LOGNAME|$HOSTNAME" + export host=irc.freenode.org + export target='#tincspasm' + + exec Reaktor/IRC/index + +## Environment variables + +The following environment variables are processed by `//Reaktor/IRC`: + +### nick + +Use a specific nickname. + +Optional if the node running `//Reaktor/IRC` is part of Retiolum, in +which case it defaults to `Name` in `/etc/tinc/retiolum/tinc.conf`. + +### host and port + +Connect to a specific IRC server. + +Optional if the node running `//Reaktor/IRC` is part of Retiolum, in +which case it defaults to `supernode` and `6667` (well, it always +defaults to these two, but they only make science in Retiolum^_^). + +### target + +Join a specific channel. + +As always, this does the right thing for properly configured hosts: it +uses the default `#retiolum`, which is the only really relevant +channel.^_^ + |