summaryrefslogtreecommitdiff
blob: a45f1e2478399095fc491e25c677594f0d8aaed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Varnish is a high-performance HTTP accelerator
After=network.target

[Service]
Type=forking
LimitNOFILE=32786
LimitMEMLOCK=82000
PIDFile=/var/run/varnishd.pid
ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -P /var/run/varnishd.pid

#If you wish to use a config file, then use the following ExecStart line
#ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -f /etc/varnish/default.vcl -P /var/run/varnishd.pid

[Install]
WantedBy=multi-user.target