2012-02-18 01:56:34 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Varnish log generator
|
2012-02-18 02:12:57 +01:00
|
|
|
Requires=varnish.service
|
|
|
|
#After= is not required
|
2012-02-18 01:56:34 +01:00
|
|
|
|
|
|
|
[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/varnishlog.pid
|
2018-05-02 08:47:54 +02:00
|
|
|
ExecStart=/usr/sbin/varnishncsa -P /var/run/varnishlog.pid $VARNISHLOG_PARAMS
|
2012-02-18 01:56:34 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|