Created
August 26, 2015 09:24
-
-
Save lkarsten/281a493d55faf3e1551b to your computer and use it in GitHub Desktop.
varnish.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Varnish HTTP accelerator | |
[Service] | |
Type=forking | |
LimitNOFILE=131072 | |
LimitMEMLOCK=82000 | |
ExecStartPre=/opt/varnish/sbin/varnishd -C -f /etc/varnish/default.vcl | |
ExecStart=/opt/varnish/sbin/varnishd -a :80 \ | |
-T localhost:6082 \ | |
-f /etc/varnish/default.vcl \ | |
-S /etc/varnish/secret \ | |
-p fetch_chunksize=8k \ | |
-p send_timeout=1800 \ | |
-a 127.0.0.1:6086,PROXY \ | |
-s malloc,2500M | |
#ExecReload=/usr/share/varnish/reload-vcl | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment