From owner-freebsd-questions@FreeBSD.ORG Tue Mar 19 21:13:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A43DA5D5 for ; Tue, 19 Mar 2013 21:13:17 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from rc2.surewest.net (rc2.surewest.net [66.60.130.51]) by mx1.freebsd.org (Postfix) with ESMTP id 84AC2796 for ; Tue, 19 Mar 2013 21:13:17 +0000 (UTC) Received: from smtp1.surewest.net ([66.60.130.145]) by rc2.surewest.net ({af05c03d-e86d-4922-90cb-b2bd72ac7e37}) via TCP (outbound) with ESMTP id 20130319211305959 for ; Tue, 19 Mar 2013 21:13:05 +0000 X-RC-FROM: X-RC-RCPT: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp1.surewest.net (Postfix) with ESMTP id 9569A89617 for ; Tue, 19 Mar 2013 14:13:05 -0700 (PDT) Received: from blacklamb.mykitchentable.net (mykitchentable.net [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id 760CC9C1DF for ; Tue, 19 Mar 2013 14:13:05 -0700 (PDT) Received: from [127.0.0.1] (tagalong-II.mykitchentable.net [192.168.1.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 1E0D0165746 for ; Tue, 19 Mar 2013 14:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1363727585; bh=PkGfMnYuZzVX2jGBucal7KgFMjyoWXRCJfs4K8prsnw=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=vX5gIF3be+M2Puv8hd83leX5kR/lverWuDMxyzbpiW0LlAQnSVEhg6cZnp2QXA/iD ijbsqZBS1ej9HQTNksXP4M3z/IhDXzDIDN/nSOshIELd4Vwqs/n+IruH5zyE41joxO fnFNh3S9O44ofrWXMQwgyWOMdLBEPo225rM5neuo= Message-ID: <5148D4DD.7010703@mykitchentable.net> Date: Tue, 19 Mar 2013 14:13:01 -0700 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How To Get App To Start At Boot? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130319-0, 03/19/2013), Outbound message X-Antivirus-Status: Clean X-MAG-OUTBOUND: surewest.redcondor.net@66.60.130.145/32 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 21:13:17 -0000 I installed Splunk which is not part of the ports tree. It's a proprietary app that I downloaded and installed on it's own. I start it with '/usr/local/splunk/bin/splunk start'. It should also be stopped with '/usr/local/splunk/bin/splunk stop'. In an attempt to automate it, I created this symlink in /usr/local/etc/rc.d: lrwxr-xr-x 1 root wheel 28 Mar 3 12:32 splunk -> /usr/local/splunk/bin/splunk However it's still not automatic. I can run '/usr/local/etc/rc.d/splunk start' at the command line and that works. What do I need to do to get this automated? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com