summaryrefslogtreecommitdiff
path: root/www/varnish/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/varnish/files')
-rw-r--r--www/varnish/files/varnishd.sh13
-rw-r--r--www/varnish/files/varnishlog.sh14
-rw-r--r--www/varnish/files/varnishncsa.sh14
3 files changed, 41 insertions, 0 deletions
diff --git a/www/varnish/files/varnishd.sh b/www/varnish/files/varnishd.sh
new file mode 100644
index 00000000000..01ffc50bf41
--- /dev/null
+++ b/www/varnish/files/varnishd.sh
@@ -0,0 +1,13 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# PROVIDE: varnishd
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="varnishd"
+rcvar=$name
+command="@PREFIX@/sbin/varnishd"
+
+load_rc_config $name
+run_rc_command "$1"
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"
diff --git a/www/varnish/files/varnishncsa.sh b/www/varnish/files/varnishncsa.sh
new file mode 100644
index 00000000000..8dd8cdaa486
--- /dev/null
+++ b/www/varnish/files/varnishncsa.sh
@@ -0,0 +1,14 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# PROVIDE: varnishncsa
+# REQUIRE: varnishd
+
+. /etc/rc.subr
+
+name="varnishncsa"
+rcvar=$name
+command="@PREFIX@/bin/varnishncsa"
+commands_args="-D"
+
+load_rc_config $name
+run_rc_command "$1"