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
|
2012-02-18 01:56:34 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|