summaryrefslogtreecommitdiffstats
path: root/package/tinyhttpd/tinyhttpd.service
diff options
context:
space:
mode:
authorAlex Suykov <alex.suykov@gmail.com>2015-05-23 13:08:37 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-14 14:03:03 +0200
commitb7afea9500de01a9b41c32045de6ec72c209d59e (patch)
tree68f28235adb8b5bbdac39118714862a350b04040 /package/tinyhttpd/tinyhttpd.service
parentde2dd8f473d5502c61e162594a6a6c3273270a9a (diff)
downloadbuildroot-b7afea9500de01a9b41c32045de6ec72c209d59e.tar.gz
buildroot-b7afea9500de01a9b41c32045de6ec72c209d59e.zip
tinyhttpd: systemd support
[Thomas: use relative symlink.] Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/tinyhttpd/tinyhttpd.service')
-rw-r--r--package/tinyhttpd/tinyhttpd.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/tinyhttpd/tinyhttpd.service b/package/tinyhttpd/tinyhttpd.service
new file mode 100644
index 0000000000..0ae5bac943
--- /dev/null
+++ b/package/tinyhttpd/tinyhttpd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Tiny HTTP daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/tinyhttpd
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
OpenPOWER on IntegriCloud