summaryrefslogtreecommitdiff
path: root/units/lighttpd-ostree-repo.service
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-04-22 17:18:55 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-04-22 17:18:55 +0000
commit9536ba98090c9facbd0fe0e93d868ca054eafecb (patch)
treee24a00be9c6134ba647a540b60c65e86f13e1a88 /units/lighttpd-ostree-repo.service
parentdb1e0819a425f7839d646fe4e1c37724898b25b9 (diff)
downloadtrove-setup-9536ba98090c9facbd0fe0e93d868ca054eafecb.tar.gz
Add a simple web server to serve the OSTree repobaserock/adamcoldrick/ostree
Change-Id: I23c5ebebd90466cd88fbbb436dc19da991745498
Diffstat (limited to 'units/lighttpd-ostree-repo.service')
-rw-r--r--units/lighttpd-ostree-repo.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/units/lighttpd-ostree-repo.service b/units/lighttpd-ostree-repo.service
new file mode 100644
index 0000000..8e2012b
--- /dev/null
+++ b/units/lighttpd-ostree-repo.service
@@ -0,0 +1,10 @@
+[Install]
+WantedBy=multi-user.target
+
+[Unit]
+Description=Lighttpd Web Server
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/lighttpd -f /etc/lighttpd/ostree-repo-httpd.conf -D
+Restart=always