Varnish 4 debian 8 port change

By.

min read

My profile

Share this:

Note: you can also use this to change the memory in use or all others you used to change in /etc/default/varnish

[code:1:cfab4b11b8]cp /lib/systemd/system/varnish.service /etc/systemd/system/
nano /etc/systemd/system/varnish.service[/code:1:cfab4b11b8]

change the port or ports

[code:1:cfab4b11b8]systemctl daemon-reload
systemctl restart varnish.service[/code:1:cfab4b11b8]

[code:1:cfab4b11b8]ps aux | grep varnish[/code:1:cfab4b11b8]
or
[code:1:cfab4b11b8]service varnish status[/code:1:cfab4b11b8]

Source: http://www.wearemobedia.com/blog/varnish-and-debian-8-jessie/

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *