From owner-freebsd-questions@FreeBSD.ORG Sun Oct 24 20:19:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30E8216A4CE for ; Sun, 24 Oct 2004 20:19:26 +0000 (GMT) Received: from nagual.st (cc20684-a.assen1.dr.home.nl [217.122.132.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id B632F43D1F for ; Sun, 24 Oct 2004 20:19:25 +0000 (GMT) (envelope-from dick@nagual.st) Received: from pooh.nagual.st (pooh.nagual.st [::ffff:192.168.11.22]) by nagual.st with esmtp; Sun, 24 Oct 2004 22:19:24 +0200 Date: Sun, 24 Oct 2004 22:18:57 +0200 From: dick hoogendijk To: freebsd-questions@freebsd.org Message-Id: <20041024221857.691cd2a4.dick@nagual.st> Organization: nagual SiTe X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: pure-ftpd options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 20:19:26 -0000 Does anybody know if and if so, how I can see the options that were given pure-ftpd in starting up? All I see in any ps command is "pure-ftpd (SERVER)" or something similar. I use the new startup script: =-=-= #!/bin/sh # PROVIDE: pureftpd # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: FreeBSD shutdown . /usr/local/etc/rc.subr name=pureftpd rcvar=`set_rcvar` load_rc_config $name command=/usr/local/sbin/pure-ftpd command_args="-? -? -a??? etc etc" pidfile=/var/run/pure-ftpd.pid procname=pure-ftpd pureftpd_enable=${pureftpd_enable:-"NO"} run_rc_command "$1" =-=-= The original script wants the conf file, but I made some changes so I could use the normal command line options, which I prefer. I want to make sure the command_args are given, but I can't make them visible on a running server. How do I do that? Or can't it be done? -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody) + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja