From: Xavier Noria <fxn@hashref.com>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: help with an init script
Date: Thu, 10 Nov 2011 11:01:09 +0100 [thread overview]
Message-ID: <CAM=YcdiXa14X3fC_rE=pOZHLz4zGxUe1UpmSgXq=0QR6_hWt9w@mail.gmail.com> (raw)
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
next reply other threads:[~2011-11-10 10:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-10 10:01 Xavier Noria [this message]
2011-11-10 11:20 ` help with an init script Eric Wong
2011-11-10 13:28 ` Xavier Noria
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM=YcdiXa14X3fC_rE=pOZHLz4zGxUe1UpmSgXq=0QR6_hWt9w@mail.gmail.com' \
--to=fxn@hashref.com \
--cc=mongrel-unicorn@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).