summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC/README.md
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-06 15:12:19 +0200
committertv <tv@xso>2011-09-06 15:12:19 +0200
commit894d5998a9be987db773aabae21b83014aedabe7 (patch)
tree670a148783f73a003b9138aaef115db6511fc573 /Reaktor/IRC/README.md
parentaae296e484fb5721efd2e39bf3db13407f131d4e (diff)
//Reaktor/IRC: move doc to README.md
Diffstat (limited to 'Reaktor/IRC/README.md')
-rw-r--r--Reaktor/IRC/README.md50
1 files changed, 50 insertions, 0 deletions
diff --git a/Reaktor/IRC/README.md b/Reaktor/IRC/README.md
new file mode 100644
index 00000000..f831785c
--- /dev/null
+++ b/Reaktor/IRC/README.md
@@ -0,0 +1,50 @@
+# `//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
+
+Anyone who has access the the IRC server in question has 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.^_^
+