summaryrefslogtreecommitdiff
path: root/www/squid
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-03-18 21:22:24 +0000
committertron <tron@pkgsrc.org>2002-03-18 21:22:24 +0000
commit41a99acd835cf1ab1919fd0acd8d204758a35530 (patch)
tree2ceb4666b1f9016d2b10d6e4d105b3cfdb1b71a4 /www/squid
parent8df42423f1998af3b7e69bb1664754667fb8dae3 (diff)
downloadpkgsrc-41a99acd835cf1ab1919fd0acd8d204758a35530.tar.gz
Define "start_cmd" so that this script works under NetBSD 1.4.x. Problem
noted by Mipam in private e-mail.
Diffstat (limited to 'www/squid')
-rw-r--r--www/squid/files/squid.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/squid/files/squid.sh b/www/squid/files/squid.sh
index 89e369b88cd..bed16daca61 100644
--- a/www/squid/files/squid.sh
+++ b/www/squid/files/squid.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: squid.sh,v 1.11 2001/09/18 16:12:11 tron Exp $
+# $NetBSD: squid.sh,v 1.12 2002/03/18 21:22:24 tron Exp $
#
# PROVIDE: squid
@@ -17,6 +17,7 @@ pidfile="/var/run/${name}.pid"
required_files="${conf_file} ${SQUID_CONF_DIR}/mime.conf"
command_args="-Y -f $conf_file"
+start_cmd="${command}"
stop_cmd="stop_nicely"
kill_command="${command} -k shutdown"
reload_cmd="${command} -k reconfigure"