From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=-0.7 required=5.0 tests=AWL,RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by dcvr.yhbt.net (Postfix) with ESMTP id 96FDC21066 for ; Thu, 10 Nov 2011 10:30:50 +0000 (UTC) Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 373F9177994E; Thu, 10 Nov 2011 05:30:45 -0500 (EST) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by rubyforge.org (Postfix) with ESMTP id 31C41177994E for ; Thu, 10 Nov 2011 05:01:51 -0500 (EST) Received: by wyh13 with SMTP id 13so3031572wyh.23 for ; Thu, 10 Nov 2011 02:01:51 -0800 (PST) Received: by 10.216.172.205 with SMTP id t55mr1125160wel.109.1320919311110; Thu, 10 Nov 2011 02:01:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.51.129 with HTTP; Thu, 10 Nov 2011 02:01:09 -0800 (PST) From: Xavier Noria Date: Thu, 10 Nov 2011 11:01:09 +0100 Message-ID: Subject: help with an init script To: unicorn list X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Hey, I have this pretty standard init script for Unicorn http://pastie.org/2840779 where fxn@cohen:~$ ls -la /etc/init.d/unicorn_home lrwxrwxrwx 1 root root 32 2011-11-09 23:45 /etc/init.d/unicorn_home -> /home/fxn/home/config/unicorn.sh fxn@cohen:~$ ls -la $HOME/.rvm/bin/ruby -rwxrwxr-x 1 fxn sudo 265 2011-11-09 21:44 /home/fxn/.rvm/bin/ruby and $APP_ROOT/bin/unicorn_rails is a binstub created by bundler. The init script works like a charm if I run it with sudo, but for some reason the service is not launched if the machine is rebooted. Do you know what could happen or how could I debug it? dmesg | grep unicorn prints nothing. _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying