Jan Engelhardt
68ffb942c8
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/934999 OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=108
26 lines
661 B
Desktop File
26 lines
661 B
Desktop File
[Unit]
|
|
Description=Varnish log generator
|
|
Requires=varnish.service
|
|
#After= is not required
|
|
|
|
[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/varnishlog.pid
|
|
ExecStart=/usr/sbin/varnishncsa -P /var/run/varnishlog.pid $VARNISHLOG_PARAMS
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|