summaryrefslogtreecommitdiff
path: root/www/varnish5/files/varnishlog.in
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-01-01 13:52:46 +0000
committerRene Ladan <rene@FreeBSD.org>2019-01-01 13:52:46 +0000
commitba09f7ee95cee49a75d1ecb50f4be68f99de394a (patch)
treef7075798a9a1abe4f41bfb7a9ae6bd8387a1e92a /www/varnish5/files/varnishlog.in
parentsysutils/policykit-qt, sysutils/qzeitgeist: remove dead variable USE_KDE (diff)
Remove expired ports:
2018-12-30 textproc/pecl-xdiff: Works only with EOL php 5.6 2019-01-01 www/mod_http2-devel: Use the module that is shipped with Apache 2.4 2019-01-01 www/varnish5: Varnish 5 is Retired 2018-12-30 security/pecl-ssh2-0: Works only with EOL php 5.6 2019-01-01 security/bitwarden-ruby: Expects very specific rubygem versions for new updates. Please follow instructions in git repo. 2018-12-30 devel/pecl-intl: Works only with EOL php 5.6 2018-12-30 devel/pecl-APCu4: Works only with EOL php 5.6 2018-12-30 databases/pecl-memcache: Works only with EOL php 5.6 2018-12-30 databases/pecl-memcached2: Works only with EOL php 5.6 2018-12-30 math/pecl-bitset2: Works only with EOL php 5.6 2019-01-01 multimedia/zoneminder-h264: h264 feature was commited to main branch, please upgrade to www/zoneminder 2019-01-01 lang/php56: Security Support ends on 31 Dec 2018
Notes
Notes: svn path=/head/; revision=488894
Diffstat (limited to 'www/varnish5/files/varnishlog.in')
-rw-r--r--www/varnish5/files/varnishlog.in65
1 files changed, 0 insertions, 65 deletions
diff --git a/www/varnish5/files/varnishlog.in b/www/varnish5/files/varnishlog.in
deleted file mode 100644
index 5da94cca8216..000000000000
--- a/www/varnish5/files/varnishlog.in
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: varnishlog
-# REQUIRE: DAEMON varnishd
-# KEYWORD: shutdown
-
-#
-# Add the following line to /etc/rc.conf to enable varnishlog:
-#
-# varnishlog_enable="YES"
-#
-# Configuration variables and their default values:
-#
-# varnishlog_pidfile - full path to the PID file.
-# default: "/var/run/varnishlog.pid"
-#
-# varnishlog_file - full path to the log file.
-# default: "/var/log/varnish.log"
-#
-# varnishlog_flags - command line arguments.
-# default: "-t off -P ${varnishlog_pidfile} -D -a -A -w ${varnishlog_file}"
-#
-# Add the following line to /etc/newsyslog.conf to rotate the log file
-# once a day:
-#
-# /var/log/varnish.log varnishlog:varnish 640 7 * @T00 JB /var/run/varnishlog.pid
-#
-# See varnishlog(1) for a detailed overview of command-line options.
-#
-
-. /etc/rc.subr
-
-name=varnishlog
-rcvar=varnishlog_enable
-
-load_rc_config ${name}
-: ${varnishlog_enable:=NO}
-: ${varnishlog_pidfile=/var/run/${name}.pid}
-: ${varnishlog_file=/var/log/varnish.log}
-: ${varnishlog_flags="-t off -P ${varnishlog_pidfile} -D -a -A -w ${varnishlog_file}"}
-
-procname="%%PREFIX%%/bin/${name}"
-command="/usr/sbin/daemon"
-command_args="-f -u varnishlog ${procname} ${varnishlog_flags}"
-pidfile=${varnishlog_pidfile}
-start_precmd=precmd
-
-precmd()
-{
- # varnishlog_flags gets applied too early if we don't do this.
- rc_flags=""
-
- if [ ! -e ${pidfile} ]; then
- install -o varnishlog -g varnish -m 644 /dev/null ${pidfile};
- fi
-
- if [ ! -e ${varnishlog_file} ]; then
- install -o varnishlog -g varnish -m 640 /dev/null ${varnishlog_file};
- fi
-}
-
-run_rc_command "$1"