summaryrefslogtreecommitdiff
path: root/units/morph-cache-server.service
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2013-09-04 17:37:53 +0100
committerTiago Gomes <tiago.gomes@codethink.co.uk>2013-09-05 17:20:30 +0100
commita9341227068996fdbde2bd4da92ee491e8bfbeea (patch)
treefdf2ce5a7021732fddbb36391b57c7c365d8852d /units/morph-cache-server.service
parent5dca26febbd2f1938f8bb1fab4d53fcacdf1d0e8 (diff)
downloadtrove-setup-a9341227068996fdbde2bd4da92ee491e8bfbeea.tar.gz
Use lighttpd for the trove http services.
- Add a configuration file to lighttpd. The max-procs for the read-only cache server is bigger than the writable cache server, as is expected to have a bigger load. Although the max-procs set is low, each fastcgi process supports multiple connections, that accordingly flup source code is equal to the maximum number of open file descriptors that a process can have. - Remove morph-cache-server systemd units. The servers will be spawned by lighttpd as fcgi processes. - Make cgit to be served by lighttpd instead of busybox httpd.
Diffstat (limited to 'units/morph-cache-server.service')
-rw-r--r--units/morph-cache-server.service7
1 files changed, 0 insertions, 7 deletions
diff --git a/units/morph-cache-server.service b/units/morph-cache-server.service
deleted file mode 100644
index f1f2385..0000000
--- a/units/morph-cache-server.service
+++ /dev/null
@@ -1,7 +0,0 @@
-[Unit]
-Description=Morph cache server
-After=network.target
-
-[Service]
-ExecStart=/bin/su -c /usr/bin/morph-cache-server - cache
-Restart=always