halfapi/conf/systemd/lirmm_api.socket

14 lines
232 B
SYSTEMD
Raw Normal View History

[Unit]
Description=uvicorn socket
[Socket]
ListenStream=/var/lib/api/lirmm_api.sock
User=api
SocketUser=api
SocketGroup=www-data
# Optionally restrict the socket permissions even more.
# Mode=600
[Install]
WantedBy=sockets.target