2012-02-18 01:56:34 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Varnish HTTP accelerator/reverse proxy
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2021-12-01 15:16:09 +01:00
|
|
|
# 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
|
2012-02-18 01:56:34 +01:00
|
|
|
EnvironmentFile=/etc/sysconfig/varnish
|
|
|
|
PIDFile=/var/run/varnishd.pid
|
2018-05-02 08:47:54 +02:00
|
|
|
ExecStart=/usr/sbin/varnishd -P /var/run/varnishd.pid -F $VARNISHD_PARAMS
|
2022-09-18 23:03:45 +02:00
|
|
|
ExecReload=/usr/sbin/varnish_reload_vcl
|
2022-09-19 09:18:07 +02:00
|
|
|
KillMode=mixed
|
2022-09-25 15:07:01 +02:00
|
|
|
TasksMax=16384
|
2012-02-18 01:56:34 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|