aports/community/althttpd/althttpd.initd

13 lines
241 B
Bash

#!/sbin/openrc-run
# user-servicable parts go in /etc/conf.d/althttpd
description="The althttpd web server"
command=/usr/bin/althttpd
command_args="${ALTHTTPD_OPTS}"
command_background=true
pidfile=/run/althttpd.pid
depend() {
need net
}