runit-service-scripts/usr/lib/runit/sv/darkhttpd/run
2024-04-06 19:36:11 +03:00

4 lines
139 B
Bash
Executable file

#!/bin/sh
[ -r conf ] && . ./conf
exec chpst -u ${USER:=http}:${GROUP:=http} darkhttpd ${DIR:=/srv/http} --port ${PORT:=8080} ${OPTS} 2>&1