#!/sbin/openrc-run description="Deno http server" cfgfile=${cfgfile:-/usr/share/deno/http.ts} command=${command:-/usr/bin/deno} command_args="run --allow-read --allow-net $cfgfile" required_files="$cfgfile" pidfile="/run/$SVCNAME.pid" command_background=true depend() { need net use dns logger netmount }