Benoit Chesneau 0ad47db800
Use user-writable default path for control socket (#3551)
The previous default /run/gunicorn.ctl requires root permissions.
Now uses $XDG_RUNTIME_DIR/gunicorn.ctl if available, otherwise
$HOME/.gunicorn/gunicorn.ctl. This works on Linux, FreeBSD, OpenBSD,
and macOS without requiring elevated privileges.

- Add _get_default_control_socket() helper in config.py
- Create parent directory automatically with 0o700 permissions
- Update gunicornc CLI to use the same default path
- Add unit tests for path selection and directory creation
2026-03-23 20:08:03 +01:00
..
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 18:47:17 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 18:47:17 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-03-22 17:14:49 +01:00
2026-02-02 23:36:30 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 18:47:17 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00