summarylogtreecommitdiffstats
path: root/mini_httpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'mini_httpd.service')
-rw-r--r--mini_httpd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/mini_httpd.service b/mini_httpd.service
new file mode 100644
index 000000000000..e60ead0fe074
--- /dev/null
+++ b/mini_httpd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=mini_httpd server
+After=syslog.target
+After=network.target
+
+[Service]
+PIDFile=/run/mini_httpd.pid
+ExecStart=/usr/bin/mini_httpd -C /etc/mini_httpd/mini_httpd.conf
+
+[Install]
+WantedBy=multi-user.target