summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorCaian Benedicto <caianbene@gmail.com>2024-12-14 06:53:30 -0300
committerCaian Benedicto <caianbene@gmail.com>2024-12-14 06:53:30 -0300
commit48d225002427e874a3b02ee0ba88ba6169304c52 (patch)
tree4822bf151035ccd8ffed1edb35c655b0bf38351d /config
parent5f8130fd03a767f77bf8abe4a3f7260d2781850a (diff)
downloadinvidious-48d225002427e874a3b02ee0ba88ba6169304c52.tar.gz
invidious-48d225002427e874a3b02ee0ba88ba6169304c52.tar.bz2
invidious-48d225002427e874a3b02ee0ba88ba6169304c52.zip
Unify socket_binding and socket_permissions
Diffstat (limited to 'config')
-rw-r--r--config/config.example.yml17
1 files changed, 4 insertions, 13 deletions
diff --git a/config/config.example.yml b/config/config.example.yml
index 3c090481..afa1d252 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -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
# -----------------------------