Permalink
Browse files

show UNIX domain sockets in command examples

  • Loading branch information...
1 parent f8a0eaf commit 498112287deed82733aeb785a3274b22d12f278b @kraih committed Feb 24, 2017
Showing with 2 additions and 0 deletions.
  1. +1 −0 lib/Mojolicious/Command/daemon.pm
  2. +1 −0 lib/Mojolicious/Command/prefork.pm
@@ -39,6 +39,7 @@ Mojolicious::Command::daemon - Daemon command
./myapp.pl daemon -m production -l http://*:8080
./myapp.pl daemon -l http://127.0.0.1:8080 -l https://[::]:8081
./myapp.pl daemon -l 'https://*:443?cert=./server.crt&key=./server.key'
+ ./myapp.pl daemon -l http+unix://%2Ftmp%2Fmyapp.sock
Options:
-b, --backlog <size> Listen backlog size, defaults to
@@ -46,6 +46,7 @@ Mojolicious::Command::prefork - Pre-fork command
./myapp.pl prefork -m production -l http://*:8080
./myapp.pl prefork -l http://127.0.0.1:8080 -l https://[::]:8081
./myapp.pl prefork -l 'https://*:443?cert=./server.crt&key=./server.key'
+ ./myapp.pl prefork -l http+unix://%2Ftmp%2Fmyapp.sock
Options:
-a, --accepts <number> Number of connections for workers to

0 comments on commit 4981122

Please sign in to comment.