summaryrefslogtreecommitdiff
path: root/dis/svc
diff options
context:
space:
mode:
Diffstat (limited to 'dis/svc')
-rwxr-xr-xdis/svc/auth13
-rw-r--r--dis/svc/httpd/alarms.disbin0 -> 481 bytes
-rw-r--r--dis/svc/httpd/cache.disbin0 -> 1957 bytes
-rw-r--r--dis/svc/httpd/cgiparse.disbin0 -> 2789 bytes
-rw-r--r--dis/svc/httpd/contents.disbin0 -> 2297 bytes
-rw-r--r--dis/svc/httpd/date.disbin0 -> 2487 bytes
-rw-r--r--dis/svc/httpd/echo.disbin0 -> 1845 bytes
-rw-r--r--dis/svc/httpd/httpd.disbin0 -> 14440 bytes
-rw-r--r--dis/svc/httpd/imagemap.disbin0 -> 5321 bytes
-rw-r--r--dis/svc/httpd/parser.disbin0 -> 10666 bytes
-rw-r--r--dis/svc/httpd/redirect.disbin0 -> 1236 bytes
-rw-r--r--dis/svc/httpd/stats.disbin0 -> 1656 bytes
-rwxr-xr-xdis/svc/net6
-rwxr-xr-xdis/svc/registry8
-rwxr-xr-xdis/svc/rstyx4
-rwxr-xr-xdis/svc/styx4
-rw-r--r--dis/svc/webget/date.disbin0 -> 2577 bytes
-rw-r--r--dis/svc/webget/file.disbin0 -> 684 bytes
-rw-r--r--dis/svc/webget/ftp.disbin0 -> 3871 bytes
-rw-r--r--dis/svc/webget/http.disbin0 -> 9923 bytes
-rw-r--r--dis/svc/webget/image2enc.disbin0 -> 10450 bytes
-rw-r--r--dis/svc/webget/message.disbin0 -> 2473 bytes
-rw-r--r--dis/svc/webget/webget.disbin0 -> 5594 bytes
-rw-r--r--dis/svc/webget/wgutils.disbin0 -> 4062 bytes
24 files changed, 35 insertions, 0 deletions
diff --git a/dis/svc/auth b/dis/svc/auth
new file mode 100755
index 00000000..25c8d520
--- /dev/null
+++ b/dis/svc/auth
@@ -0,0 +1,13 @@
+#!/dis/sh.dis -n
+load std
+or {ftest -e /net/dns} {ftest -e /env/emuhost} {ndb/dns}
+or {ftest -e /net/cs} {ndb/cs}
+or {ftest -f /keydb/signerkey} {echo 'auth: need to use createsignerkey(8)' >[1=2]; exit nosignerkey}
+or {ftest -f /keydb/keys} {echo 'auth: need to create /keydb/keys' >[1=2]; exit nokeys}
+and {auth/keyfs} {
+ listen -v -t -A 'tcp!*!inflogin' {auth/logind&}
+ listen -v -t -A 'tcp!*!infkey' {auth/keysrv&}
+ listen -v -t -A 'tcp!*!infsigner' {auth/signer&}
+ listen -v -t -A 'tcp!*!infcsigner' {auth/countersigner&}
+}
+# run svc/registry separately if desired
diff --git a/dis/svc/httpd/alarms.dis b/dis/svc/httpd/alarms.dis
new file mode 100644
index 00000000..d09bfe1b
--- /dev/null
+++ b/dis/svc/httpd/alarms.dis
Binary files differ
diff --git a/dis/svc/httpd/cache.dis b/dis/svc/httpd/cache.dis
new file mode 100644
index 00000000..6bbc4828
--- /dev/null
+++ b/dis/svc/httpd/cache.dis
Binary files differ
diff --git a/dis/svc/httpd/cgiparse.dis b/dis/svc/httpd/cgiparse.dis
new file mode 100644
index 00000000..d0373b5e
--- /dev/null
+++ b/dis/svc/httpd/cgiparse.dis
Binary files differ
diff --git a/dis/svc/httpd/contents.dis b/dis/svc/httpd/contents.dis
new file mode 100644
index 00000000..087c712c
--- /dev/null
+++ b/dis/svc/httpd/contents.dis
Binary files differ
diff --git a/dis/svc/httpd/date.dis b/dis/svc/httpd/date.dis
new file mode 100644
index 00000000..b7f7c647
--- /dev/null
+++ b/dis/svc/httpd/date.dis
Binary files differ
diff --git a/dis/svc/httpd/echo.dis b/dis/svc/httpd/echo.dis
new file mode 100644
index 00000000..58e885bc
--- /dev/null
+++ b/dis/svc/httpd/echo.dis
Binary files differ
diff --git a/dis/svc/httpd/httpd.dis b/dis/svc/httpd/httpd.dis
new file mode 100644
index 00000000..4f48da5f
--- /dev/null
+++ b/dis/svc/httpd/httpd.dis
Binary files differ
diff --git a/dis/svc/httpd/imagemap.dis b/dis/svc/httpd/imagemap.dis
new file mode 100644
index 00000000..b92ed373
--- /dev/null
+++ b/dis/svc/httpd/imagemap.dis
Binary files differ
diff --git a/dis/svc/httpd/parser.dis b/dis/svc/httpd/parser.dis
new file mode 100644
index 00000000..78fa66a6
--- /dev/null
+++ b/dis/svc/httpd/parser.dis
Binary files differ
diff --git a/dis/svc/httpd/redirect.dis b/dis/svc/httpd/redirect.dis
new file mode 100644
index 00000000..30ab32a9
--- /dev/null
+++ b/dis/svc/httpd/redirect.dis
Binary files differ
diff --git a/dis/svc/httpd/stats.dis b/dis/svc/httpd/stats.dis
new file mode 100644
index 00000000..419bf537
--- /dev/null
+++ b/dis/svc/httpd/stats.dis
Binary files differ
diff --git a/dis/svc/net b/dis/svc/net
new file mode 100755
index 00000000..437c631e
--- /dev/null
+++ b/dis/svc/net
@@ -0,0 +1,6 @@
+#!/dis/sh.dis -n
+load std
+or {ftest -e /net/dns} {ftest -e /env/emuhost} {ndb/dns}
+or {ftest -e /net/cs} {ndb/cs}
+svc/registry
+svc/styx
diff --git a/dis/svc/registry b/dis/svc/registry
new file mode 100755
index 00000000..4d183cb3
--- /dev/null
+++ b/dis/svc/registry
@@ -0,0 +1,8 @@
+#!/dis/sh.dis -n
+load std
+or {ftest -f /mnt/registry/new} {
+ db=()
+ and {ftest -f /lib/ndb/registry} {db=(-f /lib/ndb/registry)}
+ mount -A -c {ndb/registry $db} /mnt/registry
+}
+listen -v 'tcp!*!registry' {export /mnt/registry&} # -n?
diff --git a/dis/svc/rstyx b/dis/svc/rstyx
new file mode 100755
index 00000000..22f1dd09
--- /dev/null
+++ b/dis/svc/rstyx
@@ -0,0 +1,4 @@
+#!/dis/sh.dis -n
+load std
+listen 'tcp!*!rstyx' {runas $user auxi/rstyxd&}
+#and {ftest -d /net/il} {listen 'il!*!rstyx' {runas $user auxi/rstyxd&}}
diff --git a/dis/svc/styx b/dis/svc/styx
new file mode 100755
index 00000000..3c5fde8f
--- /dev/null
+++ b/dis/svc/styx
@@ -0,0 +1,4 @@
+#!/dis/sh.dis -n
+load std
+listen -v 'tcp!*!styx' {export /&} # -n?
+#and {ftest -d /net/il} {listen -v 'il!*!styx' {export /&}} # -n?
diff --git a/dis/svc/webget/date.dis b/dis/svc/webget/date.dis
new file mode 100644
index 00000000..cc7215c5
--- /dev/null
+++ b/dis/svc/webget/date.dis
Binary files differ
diff --git a/dis/svc/webget/file.dis b/dis/svc/webget/file.dis
new file mode 100644
index 00000000..5e48d9af
--- /dev/null
+++ b/dis/svc/webget/file.dis
Binary files differ
diff --git a/dis/svc/webget/ftp.dis b/dis/svc/webget/ftp.dis
new file mode 100644
index 00000000..74e69843
--- /dev/null
+++ b/dis/svc/webget/ftp.dis
Binary files differ
diff --git a/dis/svc/webget/http.dis b/dis/svc/webget/http.dis
new file mode 100644
index 00000000..43d20acc
--- /dev/null
+++ b/dis/svc/webget/http.dis
Binary files differ
diff --git a/dis/svc/webget/image2enc.dis b/dis/svc/webget/image2enc.dis
new file mode 100644
index 00000000..f6623625
--- /dev/null
+++ b/dis/svc/webget/image2enc.dis
Binary files differ
diff --git a/dis/svc/webget/message.dis b/dis/svc/webget/message.dis
new file mode 100644
index 00000000..ca13c127
--- /dev/null
+++ b/dis/svc/webget/message.dis
Binary files differ
diff --git a/dis/svc/webget/webget.dis b/dis/svc/webget/webget.dis
new file mode 100644
index 00000000..c029eaf4
--- /dev/null
+++ b/dis/svc/webget/webget.dis
Binary files differ
diff --git a/dis/svc/webget/wgutils.dis b/dis/svc/webget/wgutils.dis
new file mode 100644
index 00000000..40682361
--- /dev/null
+++ b/dis/svc/webget/wgutils.dis
Binary files differ