I wrote in /etc/rc.d/rc.local 

su - appuser -c 'hypnotoad $HOME/webapp/myapp/myapp.pl'


It is second string for second project, but no one start automatically. In 
error log: 

2016/01/13 07:01:03 [error] 3675#0: *1 connect() failed (111: Connection 
refused) while connecting to upstream, client: 37.29.74.182, server: 
domen.ru, request: "GET / HTTP/1.1", upstream: "http://*.*.*.*:3002/";, 
host: "domen.ru"

Configurations of nginx for projects is indetically, upstreams on different 
ports.

hypnotoad working for two projects, but one project is working, second is 
not.

mojo version

CORE
  Perl        (v5.14.2, linux)
  Mojolicious (6.39, Clinking Beer Mugs)

OPTIONAL
  EV 4.0+                 (n/a)
  IO::Socket::Socks 0.64+ (n/a)
  IO::Socket::SSL 1.94+   (n/a)
  Net::DNS::Native 0.15+  (n/a)

This version is up to date, have fun!

WTF?


-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to