about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-17 09:54:34 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-17 09:54:34 +0200
commitad42a1c8564775bfda41f685baaee9b57fdb2782 (patch)
tree650cafca5ff084529979c48270806bbcd4e422a8
parentb9365d1ec4288cf340ea290dd924c82ad02fdd53 (diff)
downloadrunit-void-ad42a1c8564775bfda41f685baaee9b57fdb2782.tar.gz
runit-void-ad42a1c8564775bfda41f685baaee9b57fdb2782.tar.xz
runit-void-ad42a1c8564775bfda41f685baaee9b57fdb2782.zip
New service: varnish.
-rwxr-xr-xservices/varnish/run2
l---------services/varnish/supervise1
2 files changed, 3 insertions, 0 deletions
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