✨ Features: - Complete LEMP stack automation - WordPress with WP-CLI - Redis Object Cache (50% performance boost) - Multi-OS support - SSL/Let's Encrypt integration - Security hardening - Enterprise features - Docker testing environment - GitHub Actions CI/CD - Comprehensive documentation 🧪 Fully tested and production-ready Copyright (c) 2025 Sebastian Palencsár
47 lines
1.2 KiB
Django/Jinja
47 lines
1.2 KiB
Django/Jinja
# Memcached configuration
|
|
# Generated by Ansible
|
|
|
|
# Run memcached as a daemon
|
|
-d
|
|
|
|
# Log memcached's output to /var/log/memcached
|
|
logfile /var/log/memcached.log
|
|
|
|
# Be verbose
|
|
# -v
|
|
|
|
# Be even more verbose (print client commands as well)
|
|
# -vv
|
|
|
|
# Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
|
|
# Note that the daemon will grow to this size, but does not start out holding this much
|
|
# memory
|
|
-m {{ memcached_memory | default('64') }}
|
|
|
|
# Default connection port is 11211
|
|
-p 11211
|
|
|
|
# Run the daemon as root. The start-memcached will default to running as root if no
|
|
# -u command is present in this config file
|
|
-u memcache
|
|
|
|
# Specify which IP address to listen on. The default is to listen on all IP addresses
|
|
# This parameter is one of the only security measures that memcached has, so make sure
|
|
# it's listening on a firewalled interface.
|
|
-l 127.0.0.1
|
|
|
|
# Limit the number of simultaneous incoming connections. The daemon default is 1024
|
|
-c {{ memcached_connections | default('1024') }}
|
|
|
|
# Lock down all paged memory. Consult with the README and homepage before you do this
|
|
# -k
|
|
|
|
# Return error when memory is exhausted (rather than removing items)
|
|
# -M
|
|
|
|
# Maximize core file limit
|
|
# -r
|
|
|
|
# Use a pidfile
|
|
-P /var/run/memcached/memcached.pid
|