forked from pool/squid
1ba7c0f00b
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/933486 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=242
30 lines
729 B
Desktop File
30 lines
729 B
Desktop File
[Unit]
|
|
Description=Squid caching proxy
|
|
Documentation=man:squid(8)
|
|
After=network.target named.service nss-lookup.service
|
|
|
|
[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
|
|
Type=forking
|
|
ExecStartPre=%{_libexecdir}/squid/initialize_cache_if_needed.sh
|
|
ExecStart=/usr/sbin/squid -FC
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
|
LimitNOFILE=4096
|
|
PIDFile=/run/squid.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|