#!/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