summaryrefslogtreecommitdiffstats
path: root/network/varnish/rc.varnishd
diff options
context:
space:
mode:
author Cherife Li <cherife@dotimes.com>2010-05-11 22:25:55 +0200
committer David Somero <xgizzmo@slackbuilds.org>2010-05-11 22:25:55 +0200
commitfed255237c59c298f7bf3f34078315d82ee89a86 (patch)
tree69a941a7d808fe02d1e840b2b45d8325700c4f33 /network/varnish/rc.varnishd
parentbfc1cc0d95633688d16e3a0f108db050f60a20c3 (diff)
downloadslackbuilds-fed255237c59c298f7bf3f34078315d82ee89a86.tar.gz
slackbuilds-fed255237c59c298f7bf3f34078315d82ee89a86.tar.xz
network/varnish: Updated for version 1.1.2
Diffstat (limited to 'network/varnish/rc.varnishd')
-rw-r--r--network/varnish/rc.varnishd11
1 files changed, 6 insertions, 5 deletions
diff --git a/network/varnish/rc.varnishd b/network/varnish/rc.varnishd
index 5d8ba96833..51be3f59ed 100644
--- a/network/varnish/rc.varnishd
+++ b/network/varnish/rc.varnishd
@@ -1,9 +1,10 @@
#!/bin/sh
-# Written to start/stop/restart varnishd.
-# by Cherife Li <cherife@dotimes.com>
+#
+# Written to control varnish daemon for Slackware Linux
+# by Cherife Li <cherife@dotimes.com>.
#
-VARNISH_VCL_CONF=/etc/default.vcl
+VARNISH_VCL_CONF=/etc/varnish/default.vcl
VARNISH_PIDFILE=/var/run/varnish.pid
VARNISH_LOCKFILE=/var/lock/subsys/varnish
VARNISH_DAEMON=/usr/sbin/varnishd
@@ -76,11 +77,11 @@ case "$1" in
;;
'restart')
$0 stop
- sleep 1
+ sleep 3
$0 start
;;
*)
- echo "usage $0 start|stop|restart"
+ echo "usage $0 {start|stop|restart}"
exit 1
esac