From 9536ba98090c9facbd0fe0e93d868ca054eafecb Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Wed, 22 Apr 2015 17:18:55 +0000 Subject: Add a simple web server to serve the OSTree repo Change-Id: I23c5ebebd90466cd88fbbb436dc19da991745498 --- units/lighttpd-ostree-repo.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 units/lighttpd-ostree-repo.service (limited to 'units/lighttpd-ostree-repo.service') 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 -- cgit v1.2.1