From 48d225002427e874a3b02ee0ba88ba6169304c52 Mon Sep 17 00:00:00 2001 From: Caian Benedicto Date: Sat, 14 Dec 2024 06:53:30 -0300 Subject: Unify socket_binding and socket_permissions --- config/config.example.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'config') 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: ## -#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 # ----------------------------- -- cgit v1.2.3