aboutsummarylogtreecommitdiffstats
path: root/tandoor.socket
blob: 242d5a6e059ca1d1ffd0297df6e134810de7da51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=tandoor recipes socket

[Socket]
ListenStream=/var/run/tandoor.socket
# Our service won't need permissions for the socket, since it
# inherits the file descriptor by socket activation
# only the nginx daemon will need access to the socket
SocketUser=http
# Optionally restrict the socket permissions even more.
SocketMode=600

[Install]
WantedBy=sockets.target