Created
August 24, 2020 11:25
-
-
Save sagar2009kumar/9d29134fa6eac010c47c25ec8bcf0bff to your computer and use it in GitHub Desktop.
Varnish Daemon file located at /lib/systemd/system/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 | |
Documentation=https://www.varnish-cache.org/docs/4.1/ man:varnishd | |
[Service] | |
Type=simple | |
LimitNOFILE=131072 | |
LimitMEMLOCK=82000 | |
ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F -a :80 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,256m | |
ExecReload=/usr/share/varnish/varnishreload | |
ProtectSystem=full | |
ProtectHome=true | |
PrivateTmp=true | |
PrivateDevices=true | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment