Permalink
Browse files

change directories differently so you can actually see what it is

  • Loading branch information...
1 parent 1e80d04 commit 54f257ecea36adad74e9fe224f2f61023b687fdf @addisonj addisonj committed Jun 20, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −2 lib/Service.coffee
  2. +1 −1 lib/Service.js
View
@@ -66,10 +66,9 @@ class Service
"""
description '#{@id}'
start on startup
- chdir #{@repoDir}
respawn
respawn limit 5 5
- exec su #{@serverUser} -c '#{@mainConfig.getStart()}' >> #{@logFile} 2>&1
+ exec su #{@serverUser} -c 'cd #{@repoDir} && #{@mainConfig.getStart()}' >> #{@logFile} 2>&1
"""
makeHookScript: ->
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 54f257e

Please sign in to comment.