Troex Nevelin <[email protected]> wrote: > I cannot bind to socket with `-l` option if I specify relative path. > Is it bug or absolute path is mandatory? > > Tried 3.4.0 and 3.6.2 - both failed. > > root@zenon:/var/www/test.st.std42.ru/SiteTarget/server# unicorn -l > ./counter.sock > F, [2011-05-01T16:47:10.661755 #31915] FATAL -- : error adding listener > addr=./counter.sock > /usr/lib/ruby/gems/1.8/gems/unicorn-3.4.0/lib/unicorn/socket_helper.rb:143:in > `bind_listen': Don't know how to bind: ./counter.sock (ArgumentError)
Use "unix:./counter.sock" or "unix:counter.sock" instead (should be compatible with nginx notation). Without a leading "/" or "~", it can be hard to tell if it's a hostname address or not. -- Eric Wong _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
