Forge: Removing "beanstalkd"

Beginning today, Forge will no longer install beanstalkd on new servers.

We have noted an increase in provisioning failures due to the beanstalkd service failing. In addition, beanstalkd usage among Laravel users has declined sharply with the introduction of more robust tools like Laravel Horizon.

However, if you would like to manually install beanstalkd, you may still install it manually using the following Bash script:

apt-get install -y --force-<span class="hljs-literal">yes</span> beanstalkd
sed -i <span class="hljs-string">"s/BEANSTALKD_LISTEN_ADDR.*/BEANSTALKD_LISTEN_ADDR=0.0.0.0/"</span> /etc/<span class="hljs-keyword">default</span>/beanstalkd

<span class="hljs-keyword">if</span> grep START= /etc/<span class="hljs-keyword">default</span>/beanstalkd; <span class="hljs-keyword">then</span>
    sed -i <span class="hljs-string">"s/#START=yes/START=yes/"</span> /etc/<span class="hljs-keyword">default</span>/beanstalkd
<span class="hljs-keyword">else</span>
    echo <span class="hljs-string">"START=yes"</span> >> /etc/<span class="hljs-keyword">default</span>/beanstalkd
fi

service beanstalkd start
sleep <span class="hljs-number">5</span>
service beanstalkd restart

systemctl enable beanstalkd

Keep reading

Stay connected with the latest Laravel news