aboutsummaryrefslogtreecommitdiff
path: root/net/overture/files
diff options
context:
space:
mode:
authorRichard Yu <yurichard3839@gmail.com>2019-06-26 17:37:19 +0800
committerRichard Yu <yurichard3839@gmail.com>2020-03-08 21:41:57 +0800
commit1f7c0e3d368a52302c09dc0d2cc10dea23b4747f (patch)
treed0d725b488526b3982c86080391e01adb1751fc5 /net/overture/files
parentfe165eeb94d2e7fb35fee93e64336afa024a1283 (diff)
overture: add new package
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Diffstat (limited to 'net/overture/files')
-rw-r--r--net/overture/files/domain_alternative_sample1
-rw-r--r--net/overture/files/domain_primary_sample1
-rw-r--r--net/overture/files/domain_ttl_sample1
-rw-r--r--net/overture/files/hosts_sample1
-rw-r--r--net/overture/files/ip_network_alternative_sample1
-rw-r--r--net/overture/files/ip_network_primary_sample1
-rw-r--r--net/overture/files/overture.init14
7 files changed, 20 insertions, 0 deletions
diff --git a/net/overture/files/domain_alternative_sample b/net/overture/files/domain_alternative_sample
new file mode 100644
index 000000000..79e25d610
--- /dev/null
+++ b/net/overture/files/domain_alternative_sample
@@ -0,0 +1 @@
+alternative.example \ No newline at end of file
diff --git a/net/overture/files/domain_primary_sample b/net/overture/files/domain_primary_sample
new file mode 100644
index 000000000..3fbdab212
--- /dev/null
+++ b/net/overture/files/domain_primary_sample
@@ -0,0 +1 @@
+primary.example \ No newline at end of file
diff --git a/net/overture/files/domain_ttl_sample b/net/overture/files/domain_ttl_sample
new file mode 100644
index 000000000..126e48ddf
--- /dev/null
+++ b/net/overture/files/domain_ttl_sample
@@ -0,0 +1 @@
+ttl.example 1000 \ No newline at end of file
diff --git a/net/overture/files/hosts_sample b/net/overture/files/hosts_sample
new file mode 100644
index 000000000..67d68a7f3
--- /dev/null
+++ b/net/overture/files/hosts_sample
@@ -0,0 +1 @@
+127.0.0.1 localhost \ No newline at end of file
diff --git a/net/overture/files/ip_network_alternative_sample b/net/overture/files/ip_network_alternative_sample
new file mode 100644
index 000000000..d99ed31a3
--- /dev/null
+++ b/net/overture/files/ip_network_alternative_sample
@@ -0,0 +1 @@
+127.0.0.10/32 \ No newline at end of file
diff --git a/net/overture/files/ip_network_primary_sample b/net/overture/files/ip_network_primary_sample
new file mode 100644
index 000000000..ce093336d
--- /dev/null
+++ b/net/overture/files/ip_network_primary_sample
@@ -0,0 +1 @@
+127.0.0.9/32 \ No newline at end of file
diff --git a/net/overture/files/overture.init b/net/overture/files/overture.init
new file mode 100644
index 000000000..fb7c1c25f
--- /dev/null
+++ b/net/overture/files/overture.init
@@ -0,0 +1,14 @@
+#!/bin/sh /etc/rc.common
+
+START=99
+USE_PROCD=1
+
+start_service() {
+ procd_open_instance
+ procd_set_param command /usr/bin/overture -c /etc/overture/config.json
+ procd_set_param file /etc/overture/config.json
+ procd_set_param stdout 1
+ procd_set_param stderr 1
+ procd_set_param respawn
+ procd_close_instance
+}