aboutsummaryrefslogtreecommitdiffstats
path: root/main/darkhttpd/darkhttpd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/darkhttpd/darkhttpd.initd')
-rw-r--r--main/darkhttpd/darkhttpd.initd10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/darkhttpd/darkhttpd.initd b/main/darkhttpd/darkhttpd.initd
index b16244b25c..dc23c6e621 100644
--- a/main/darkhttpd/darkhttpd.initd
+++ b/main/darkhttpd/darkhttpd.initd
@@ -1,12 +1,12 @@
#! /sbin/openrc-run
-description="darkhttpd web server"
+supervisor=supervise-daemon
+
+name="darkhttpd web server"
+description="Simple, single-threaded, static content webserver"
+
command="/usr/bin/darkhttpd"
command_args="${document_root:-/var/www/localhost/htdocs} --chroot --daemon --uid darkhttpd --gid www-data $darkhttpd_args"
-procname="darkhttpd"
-pidfile=""
-stopsig="SIGTERM"
-start_stop_daemon_args="-q"
optional_arg() {
if [ -n "$2" ]; then