summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
Diffstat (limited to 'retiolum')
-rw-r--r--retiolum/scripts/github_listener/github-listener.service15
1 files changed, 15 insertions, 0 deletions
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/