From: Mark Huang Date: Thu, 26 Aug 2004 16:48:48 +0000 (+0000) Subject: - get configuration from /etc/vcached.conf X-Git-Tag: after-util-vserver-0_30_208-revert~268 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=36d570a5fa187812c161144fd5df56490c6d6751;p=util-vserver.git - get configuration from /etc/vcached.conf --- diff --git a/scripts/vcached b/scripts/vcached index 4522f45..b810c2a 100755 --- a/scripts/vcached +++ b/scripts/vcached @@ -16,29 +16,11 @@ # Mark Huang # Copyright (c) 2004 The Trustees of Princeton University (Trustees). # -# $Id: vcached,v 1.2 2004/08/19 22:09:20 mlh-pl_kernel Exp $ +# $Id: vcached,v 1.3 2004/08/25 14:58:45 mlh-pl_kernel Exp $ # -# number of images to keep cached -slots=32 - -# fill the cache periodically -period=$((60 * 15)) - -# nice adjustment -nice=10 - -# PID file -pidfile=/var/run/vcached.pid - -# log file -logfile=/var/log/vcached.log - -# run in foreground -foreground=0 - -# debug -debug=0 +# get configuration +. /etc/vcached.conf # parse options while getopts 'fd' OPT ; do