diff options
Diffstat (limited to 'examples/unicorn.socket')
-rw-r--r-- | examples/unicorn.socket | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/unicorn.socket b/examples/unicorn.socket new file mode 100644 index 0000000..7d5f773 --- /dev/null +++ b/examples/unicorn.socket @@ -0,0 +1,11 @@ +# ==> /etc/systemd/system/unicorn.socket <== +[Unit] +Description = unicorn sockets + +[Socket] +ListenStream = 127.0.0.1:8080 +ListenStream = /tmp/path/to/.unicorn.sock +Service = unicorn@1.service + +[Install] +WantedBy = sockets.target |