summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-08-13 14:12:49 +0200
committermakefu <root@pigstarter.de>2014-08-13 14:12:49 +0200
commit1489d8ec99a73627ed71c7e37aad09eae9ab4e5a (patch)
treef54cd87470b36f5aca5dc123a37494bd9b8690ff /retiolum/scripts
parent5a6f311778c28232f1098848fc4a4f833f8b6256 (diff)
add github_listener systemd file
Diffstat (limited to 'retiolum/scripts')
-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/