diff options
Diffstat (limited to 'network/varnish/rc.varnishd')
-rw-r--r-- | network/varnish/rc.varnishd | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/network/varnish/rc.varnishd b/network/varnish/rc.varnishd index 5d8ba968331ec..51be3f59edb6a 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 |