From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 29 15:22:25 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E6BB106564A for ; Tue, 29 Jul 2008 15:22:25 +0000 (UTC) (envelope-from rodrigo@bebik.net) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 45A808FC08 for ; Tue, 29 Jul 2008 15:22:24 +0000 (UTC) (envelope-from rodrigo@bebik.net) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by postfix1-g20.free.fr (Postfix) with ESMTP id 7FEDA28C71E7 for ; Tue, 29 Jul 2008 17:00:20 +0200 (CEST) Received: from smtp7-g19.free.fr (localhost [127.0.0.1]) by smtp7-g19.free.fr (Postfix) with ESMTP id 2CB0FB01FE for ; Tue, 29 Jul 2008 17:00:19 +0200 (CEST) Received: from hodja.bebik.net (gam75-4-82-235-223-127.fbx.proxad.net [82.235.223.127]) by smtp7-g19.free.fr (Postfix) with ESMTP id F1043B01CB for ; Tue, 29 Jul 2008 17:00:18 +0200 (CEST) Received: by hodja.bebik.net (Postfix, from userid 1001) id 134AB2847F; Tue, 29 Jul 2008 17:00:18 +0200 (CEST) Date: Tue, 29 Jul 2008 17:00:18 +0200 From: "Rodrigo OSORIO (ros)" To: hackers@freebsd.org Message-ID: <20080729150018.GB19987@hodja.bebik.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: Subject: Problem with an rc script X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2008 15:22:25 -0000 Hi, I'm trying to deal with a rc script I'm writing to launch a deamon. I wrote it based on the hanbook rc script sample. It works pretty well but I have some (strange to me) warning message. Fisrt a short explanation about what i'm doing : The application is a python script deamon started by a shell script located in /usr/local/sbin/ntlmaps. The shell script launch the application and write the pid file if require So, the rc script (ntlmapsd) calls the shell script with the right arguments to start the application, then performs a 'kill -KILL' to stop it based on the pid file information. The thing is stopping the application I receive a message saying: ./ntlmapsd: WARNING: $command_interpreter -b != /bin/sh I put the two scripts in http:\\www.bebik.net\~rodrigo\rctest\ Thanks for your help Rodrigo