diff options
author | Nick Glynn <n.s.glynn@gmail.com> | 2013-10-14 15:10:54 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-10-28 16:31:38 +0000 |
commit | 603c635feb211e7c092a39e73784303859bfdd47 (patch) | |
tree | c10f2178af865a85deb94af14dd8fcc794cc9b21 /meta-webserver/recipes-httpd/sthttpd/sthttpd | |
parent | beee26305246a75b3e0c75828ba6c660abee6392 (diff) | |
download | meta-openembedded-contrib-603c635feb211e7c092a39e73784303859bfdd47.tar.gz |
sthttpd: add systemd service
Signed-off-by: Nick Glynn <n.s.glynn@gmail.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/sthttpd/sthttpd')
-rw-r--r-- | meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service b/meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service new file mode 100644 index 0000000000..e2dae61fd0 --- /dev/null +++ b/meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Tiny/Turbo/Throttling Web Server + +[Service] +Type=forking +ExecStart=/usr/sbin/thttpd -d @@SRVDIR -c cgi-bin/* -i /var/run/thttpd.pid +PIDFile=/var/run/thttpd.pid + +[Install] +WantedBy=multi-user.target |