summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-02-04 15:53:51 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-02-12 17:50:29 +0000
commit3b0161527e6c90b48422f6e873a606534d769e9f (patch)
treec7e8ef1fb4a1d5527aedded110d7feb31476606e
parent246e2405b8d76c46b8a49de6fd1311c936e6b852 (diff)
downloadtrove-setup-3b0161527e6c90b48422f6e873a606534d769e9f.tar.gz
Reconfigure lighttpd systemd units
-rw-r--r--units/lighttpd-git.service (renamed from units/lighttpd.service)2
-rw-r--r--units/lighttpd-morph-cache.service7
2 files changed, 8 insertions, 1 deletions
diff --git a/units/lighttpd.service b/units/lighttpd-git.service
index 589a595..b2f6315 100644
--- a/units/lighttpd.service
+++ b/units/lighttpd-git.service
@@ -3,5 +3,5 @@ Description=Lighttpd Web Server
After=network.target
[Service]
-ExecStart=/usr/sbin/lighttpd -f /etc/lighttpd.conf -D
+ExecStart=/usr/sbin/lighttpd -f /etc/lighttpd/git-httpd.conf -D
Restart=always
diff --git a/units/lighttpd-morph-cache.service b/units/lighttpd-morph-cache.service
new file mode 100644
index 0000000..cedd071
--- /dev/null
+++ b/units/lighttpd-morph-cache.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Lighttpd Web Server
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/lighttpd -f /etc/lighttpd/morph-cache-httpd.conf -D
+Restart=always