joglomedia / LEMPer

LEMPer Stack is terminal-based LEMP / LNMP installer and manager for Debian & Ubuntu cloud or virtual server (vps) and on-premise (bare metal).

Home Page:https://lemper.cloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If feature is not on, install fails

benfavre opened this issue · comments

if [[ ${MEMCACHED_SASL} == "enable" || ${MEMCACHED_SASL} == true ]]; then

run sed -i "s/-m 64/-m ${MEMCACHED_SIZE}/g" /etc/memcached_memcache.conf

file "/etc/memcached_memcache.conf" does not exist but "/etc/memcached.conf~" exists

needs something like this before sed

if [ ! -f /etc/memcached_memcache.conf ]; then
                run cp /etc/memcached.conf~ /etc/memcached_memcache.conf
            fi

pr #59 contains fix for this issue