summary refs log tree commit homepage
path: root/examples/unicorn.socket
blob: 7d5f7739adb395a7342abb6a0cb8c3009034b2cd (plain)
1
2
3
4
5
6
7
8
9
10
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