diff options
| author | Eric Le Bihan <eric.le.bihan.dev@free.fr> | 2016-12-10 20:37:59 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-12-11 15:09:27 +0100 |
| commit | 9c9de1e2b5d29e171ec98d2fab778f1806ea3ebb (patch) | |
| tree | de0288836971fc41bc0a29f0c685966e7a18dc6b /package/darkhttpd/darkhttpd.service | |
| parent | cf294289683f0b0d524247f8402a13bfbe3d65c7 (diff) | |
| download | buildroot-9c9de1e2b5d29e171ec98d2fab778f1806ea3ebb.tar.gz buildroot-9c9de1e2b5d29e171ec98d2fab778f1806ea3ebb.zip | |
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>
Diffstat (limited to 'package/darkhttpd/darkhttpd.service')
| -rw-r--r-- | package/darkhttpd/darkhttpd.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/darkhttpd/darkhttpd.service b/package/darkhttpd/darkhttpd.service new file mode 100644 index 0000000000..17abd98ce7 --- /dev/null +++ b/package/darkhttpd/darkhttpd.service @@ -0,0 +1,11 @@ +[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 |

