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.initd8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/darkhttpd/darkhttpd.initd b/main/darkhttpd/darkhttpd.initd
new file mode 100644
index 0000000000..a7efb16605
--- /dev/null
+++ b/main/darkhttpd/darkhttpd.initd
@@ -0,0 +1,8 @@
+#! /sbin/runscript
+
+description="darkhttpd web server"
+command="/usr/bin/darkhttpd"
+command_args="${document_root:-/var/www/localhost/htdocs} --chroot --daemon --uid darkhttpd --gid www-data --log /var/log/darkhttpd/access.log"
+procname="darkhttpd"
+pidfile=""
+stopsig="SIGTERM"