forked from pool/varnish
Jan Engelhardt
e3091c8697
- Make reload fail nicely on vcl syntax error - Set TasksMax=16384 because default thread_pool_max is 5000 so systemd killed varnish on high load OBS-URL: https://build.opensuse.org/request/show/1005874 OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=116
28 lines
714 B
Desktop File
28 lines
714 B
Desktop File
[Unit]
|
|
Description=Varnish HTTP accelerator/reverse proxy
|
|
After=network.target
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
EnvironmentFile=/etc/sysconfig/varnish
|
|
PIDFile=/var/run/varnishd.pid
|
|
ExecStart=/usr/sbin/varnishd -P /var/run/varnishd.pid -F $VARNISHD_PARAMS
|
|
ExecReload=/usr/sbin/varnish_reload_vcl
|
|
KillMode=mixed
|
|
TasksMax=16384
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|