initial commit

This commit is contained in:
kento2 2026-09-08 18:36:12 +02:00
commit 584aad56b8
19 changed files with 390 additions and 0 deletions

10
example.service/run Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
# service that runs a web server protected with nobotgate.
# if the user provided a valid token, it will exec into
# ./on-valid, if not, into ./on-invalid.
exec \
envuidgid www \
tcpserver -U 127.0.0.1 80 \
../build/nobotgate ./tokens \
./on-valid \
./on-invalid