gateone: add missing files
authorKoen Kooi <koen@dominion.thruhere.net>
Fri, 11 Nov 2011 11:57:19 +0000 (12:57 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:16:36 +0000 (08:16 -0800)
(From meta-openembedded rev: 622fb6904a97e38f40a4b8f1e386c6bcf56d59f3)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone/gateone-avahi.service [new file with mode: 0644]
meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone/gateone.service [new file with mode: 0644]

diff --git a/meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone/gateone-avahi.service b/meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone/gateone-avahi.service
new file mode 100644 (file)
index 0000000..0f613d1
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
+<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
+
+<service-group>
+  <name replace-wildcards="yes">GateOne on %h</name>
+  <service>
+    <type>_https._tcp</type>
+    <port>443</port>
+  </service>
+</service-group>
diff --git a/meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone/gateone.service b/meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone/gateone.service
new file mode 100644 (file)
index 0000000..7ff6002
--- /dev/null
@@ -0,0 +1,10 @@
+[Unit]
+Description=GateOne daemon
+ConditionPathExists=|/var/lib/gateone
+
+[Service]
+WorkingDirectory=/var/lib/gateone
+ExecStart=/usr/bin/python gateone.py
+
+[Install]
+WantedBy=multi-user.target