Permalink
Browse files

Fix upstart job.

  • Loading branch information...
1 parent b3627c3 commit 694e94a53c22097be946a148a2dba687da240130 Paul Lathrop committed Jun 8, 2011
Showing with 2 additions and 6 deletions.
  1. +2 −6 conf/init/geocoder-us.conf
@@ -1,15 +1,11 @@
-# atd - deferred execution scheduler
-#
-# at is a standard UNIX program that runs user-specified programs at
-# scheduled deferred times
-
description "geocoder.us"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
+expect daemon
script
. /etc/default/geocoder-us
- unicorn -c /etc/geocoder-us/unicorn.rb -D /etc/geocoder-us/geocoder.ru
+ unicorn -c /etc/geocoder-us/unicorn.rb /etc/geocoder-us/geocoder.ru
end script

0 comments on commit 694e94a

Please sign in to comment.