summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-07-12 22:30:22 +0200
committerDavid Härdeman <david@hardeman.nu>2020-07-12 22:30:22 +0200
commitbbdd4abc9f787f057848a5b97656509b877793e0 (patch)
treef1daee6b9302e444ddd17a6d3986a407b35b4806 /examples
parent5c91d6294929b86105f16b96de5596a93be3ea68 (diff)
Move more static strings to config.h
Diffstat (limited to 'examples')
-rw-r--r--examples/example.minecserver (renamed from examples/example.mcserver)2
-rw-r--r--examples/meson.build2
-rw-r--r--examples/minecproxy.conf13
3 files changed, 14 insertions, 3 deletions
diff --git a/examples/example.mcserver b/examples/example.minecserver
index ea7f9bd..9cd9c9d 100644
--- a/examples/example.mcserver
+++ b/examples/example.minecserver
@@ -1,4 +1,4 @@
-[server]
+[minecserver]
type = proxy
name = Example Server
local = 20003
diff --git a/examples/meson.build b/examples/meson.build
index 67ddf01..bad1b4a 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -26,7 +26,7 @@ foreach xxd_file: xxd_files
endforeach
install_files = [
- 'example.mcserver',
+ 'example.minecserver',
'minecctl.conf',
'minecproxy.conf',
'minecproxy.service',
diff --git a/examples/minecproxy.conf b/examples/minecproxy.conf
index b17d8ef..3950da7 100644
--- a/examples/minecproxy.conf
+++ b/examples/minecproxy.conf
@@ -1 +1,12 @@
-This is the minecproxy conf example
+[minecproxy]
+#These are the default values
+#igmp = no
+#igmp_iface =
+#announce_interval = 3
+#proxy_connection_interval = 3
+#proxy_connection_attempts = 20
+#socket_defer = true
+#socket_freebind = true
+#socket_keepalive = true
+#socket_iptos = true
+#socket_nodelay = true