buildroot/package/darkhttpd/darkhttpd.service
Eric Le Bihan 9c9de1e2b5 darkhttpd: new package
This new package provides darkhttpd, a simple, fast HTTP 1.1 web server
for static content.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-11 15:09:27 +01:00

12 lines
317 B
Desktop File

[Unit]
Description=Darkhttpd Web Server
After=syslog.target network.target auditd.service
[Service]
Environment="DARKHTTPD_ROOT=/var/www"
EnvironmentFile=-/etc/default/darkhttpd
ExecStart=/usr/sbin/darkhttpd $DARKHTTPD_ROOT $DARKHTTPD_FLAGS --chroot --uid nobody --gid www-data
[Install]
WantedBy=multi-user.target