Permalink
Browse files

Turns out each line of a -g conf has to end with a semicolon for NginX

  • Loading branch information...
1 parent 4cf8485 commit fd4d5a1c51d125dd6601799a7af5233c2c482a7e @ELLIOTTCABLE committed Apr 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 god/nginx.rb
View
@@ -14,7 +14,7 @@
watch.start = ['/usr/local/sbin/nginx',
'-c', "#{SRV}/conf/nginx.conf",
'-g', [['pid', watch.pid_file].join(' '),
- ['user', [USR, GRP].join(' ')].join(' ')].join('; ').inspect
+ ['user', [USR, GRP].join(' ')].join(' ')].map {|e| e + ';'}.join(' ').inspect
].join(' ')
watch.restart = lambda do

0 comments on commit fd4d5a1

Please sign in to comment.