summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--retiolum/hosts/TriBot11
-rw-r--r--retiolum/scripts/github_listener/github-listener.service15
2 files changed, 26 insertions, 0 deletions
diff --git a/retiolum/hosts/TriBot b/retiolum/hosts/TriBot
new file mode 100644
index 00000000..821046f5
--- /dev/null
+++ b/retiolum/hosts/TriBot
@@ -0,0 +1,11 @@
+Subnet = 10.243.117.163
+Subnet = 42:ff05:504f:f27a:3534:9be1:4343:5e95
+
+-----BEGIN RSA PUBLIC KEY-----
+MIIBCgKCAQEAz8pZtvSqDEKo/8IHt71GzWa2oTqZPUv2kRoipUXbJGv3eWpkbd4n
+OpaLuY7MjUveZ39m830t5RAkgB9iChU5wurszgfLrxJ15uibJe+yFJl9O6kuYJr1
+69s12F/v/pPno5eWuXWJ+CdMW8srZB1I/ZIL1/GaptuDoMxu7uBnDbL/NJrpPBSr
+JxCJGHET8jh2++B3cqsBWNGkQjQTM8NwwAup6HQjBrbOQYOAQbcOTMmalc/9JFfO
+LUz63LrCPk5pIeLi+876IdAJBuJsVWwmTbl/D9R6D34Z8bYHIv9mDmO/omckcxX2
+JJgEq5/xlLb2gHt/qfUunbYHIstp/s2bSwIDAQAB
+-----END RSA PUBLIC KEY-----
diff --git a/retiolum/scripts/github_listener/github-listener.service b/retiolum/scripts/github_listener/github-listener.service
new file mode 100644
index 00000000..70e2676a
--- /dev/null
+++ b/retiolum/scripts/github_listener/github-listener.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=github_listener
+After=network.target
+
+[Service]
+ExecStart=/bin/nc -lvv -p 5432 -c "./handle_request /opt/github_listener/retiolum/hosts /var/www/euer.krebsco.de/retiolum/"
+User=tinc
+WorkingDirectory=/krebs/retiolum/scripts/github_listener/
+[Install]
+WantedBy=multi-user.target
+
+# program:github_listener]
+#command=nc -lvv -p 5432 -c "./handle_request /opt/github_listener/retiolum/hosts /var/www/euer.krebsco.de/retiolum/"
+#user=tinc
+#directory=/krebs/retiolum/scripts/github_listener/