Unify socket_binding and socket_permissions

This commit is contained in:
Caian Benedicto
2024-12-14 06:53:30 -03:00
parent 5f8130fd03
commit 48d2250024
3 changed files with 12 additions and 21 deletions

View File

@@ -131,25 +131,16 @@ https_only: false
#hsts: true
##
## Path of a UNIX socket to listen on for incoming connections.
## Path and permissions of a UNIX socket to listen on for incoming connections.
##
## Note: Enabling socket will make invidious stop listening on the address
## specified by 'host_binding' and 'port'.
##
## Accepted values: Any path to a new file (that doesn't exist yet)
## Accepted values: Any path to a new file (that doesn't exist yet) and its
## permissions following the UNIX octal convention.
## Default: <none>
##
#socket_binding: /tmp/invidious.sock
##
## Permissions for the UNIX socket specified by 'socket_binding'.
##
## Note: The permissions are given in octal, following UNIX convention.
##
## Accepted values: 000-777
## Default: 777
##
#socket_permissions: 777
#socket_binding: /tmp/invidious.sock,777
# -----------------------------