aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source-router/ircproxy-oftc-4
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-23 06:49:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-23 06:49:25 +0000
commit1aa3bc74170f10a4285827efa2748d1d6c2e4613 (patch)
tree3fc6b79944f119dddf85a1cf8758cfbbab607cbe /examples/source-router/ircproxy-oftc-4
parent3c61b2916c56bfa8d3ce7a6a5480eb93c2ed1470 (diff)
downloads6-rc-1aa3bc74170f10a4285827efa2748d1d6c2e4613.tar.gz
New example batch of service definitions
Diffstat (limited to 'examples/source-router/ircproxy-oftc-4')
-rw-r--r--examples/source-router/ircproxy-oftc-4/dependencies.d/init-lan0
-rw-r--r--examples/source-router/ircproxy-oftc-4/notification-fd1
-rw-r--r--examples/source-router/ircproxy-oftc-4/producer-for1
-rwxr-xr-xexamples/source-router/ircproxy-oftc-4/run12
-rw-r--r--examples/source-router/ircproxy-oftc-4/type1
5 files changed, 15 insertions, 0 deletions
diff --git a/examples/source-router/ircproxy-oftc-4/dependencies.d/init-lan b/examples/source-router/ircproxy-oftc-4/dependencies.d/init-lan
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/source-router/ircproxy-oftc-4/dependencies.d/init-lan
diff --git a/examples/source-router/ircproxy-oftc-4/notification-fd b/examples/source-router/ircproxy-oftc-4/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source-router/ircproxy-oftc-4/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source-router/ircproxy-oftc-4/producer-for b/examples/source-router/ircproxy-oftc-4/producer-for
new file mode 100644
index 0000000..91cba65
--- /dev/null
+++ b/examples/source-router/ircproxy-oftc-4/producer-for
@@ -0,0 +1 @@
+ircproxy-oftc-log
diff --git a/examples/source-router/ircproxy-oftc-4/run b/examples/source-router/ircproxy-oftc-4/run
new file mode 100755
index 0000000..e66edf6
--- /dev/null
+++ b/examples/source-router/ircproxy-oftc-4/run
@@ -0,0 +1,12 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+s6-envdir /etc/env-network
+importas -uSi ETH0_IP4
+emptyenv -p
+s6-envuidgid irc
+export CADIR /etc/ssl/ca/hashed
+fdmove 1 3
+s6-tcpserver -v -1 -U -c 255 -- ${ETH0_IP4} 1000
+s6-tcpserver-access -DHl0 --
+s6-tcpclient -v -l0 -- irc.oftc.net. 6697
+s6-tlsc-io -k irc.oftc.net -- 6 7
diff --git a/examples/source-router/ircproxy-oftc-4/type b/examples/source-router/ircproxy-oftc-4/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/source-router/ircproxy-oftc-4/type
@@ -0,0 +1 @@
+longrun