summaryrefslogtreecommitdiff
path: root/www/varnish/files/varnishlog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/varnish/files/varnishlog.sh')
-rw-r--r--www/varnish/files/varnishlog.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/varnish/files/varnishlog.sh b/www/varnish/files/varnishlog.sh
new file mode 100644
index 00000000000..b7e27f731a7
--- /dev/null
+++ b/www/varnish/files/varnishlog.sh
@@ -0,0 +1,14 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# PROVIDE: varnishlog
+# REQUIRE: varnishd
+
+. /etc/rc.subr
+
+name="varnishlog"
+rcvar=$name
+command="@PREFIX@/bin/varnishlog"
+commands_args="-D"
+
+load_rc_config $name
+run_rc_command "$1"