1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mygpo_ynh.git synced 2024-09-03 19:55:52 +02:00
mygpo_ynh/conf/systemd.socket
2021-03-17 09:03:22 -04:00

14 lines
No EOL
368 B
SYSTEMD

[Unit]
Description=Mygpo socket
[Socket]
ListenStream=/run/__APP__.sock
# 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=__APP__
# Optionally restrict the socket permissions even more.
# SocketMode=600
[Install]
WantedBy=sockets.target