summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2002-03-18 21:22:24 +0000
committertron <tron>2002-03-18 21:22:24 +0000
commit1b2ec80aa97f0f63a385a60e967a4c96df4461d1 (patch)
tree2ceb4666b1f9016d2b10d6e4d105b3cfdb1b71a4
parentcfb2f693d5b3b3916650e2650a61c4c4e4cbc0db (diff)
downloadpkgsrc-1b2ec80aa97f0f63a385a60e967a4c96df4461d1.tar.gz
Define "start_cmd" so that this script works under NetBSD 1.4.x. Problem
noted by Mipam in private e-mail.
-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"