From ad42a1c8564775bfda41f685baaee9b57fdb2782 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 17 Aug 2014 09:54:34 +0200 Subject: New service: varnish. --- services/varnish/run | 2 ++ services/varnish/supervise | 1 + 2 files changed, 3 insertions(+) create mode 100755 services/varnish/run create mode 120000 services/varnish/supervise (limited to 'services') diff --git a/services/varnish/run b/services/varnish/run new file mode 100755 index 0000000..8080615 --- /dev/null +++ b/services/varnish/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec varnishd -a 0.0.0.0:80 -f /etc/varnish/default.vcl -T localhost:6082 -s malloc,64M -u nobody -g nogroup -F diff --git a/services/varnish/supervise b/services/varnish/supervise new file mode 120000 index 0000000..bd3f2e2 --- /dev/null +++ b/services/varnish/supervise @@ -0,0 +1 @@ +/run/runit/supervise.varnish \ No newline at end of file -- cgit 1.4.1