2012-10-22 21:07:11 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Squid caching proxy
|
2018-02-20 08:30:53 +01:00
|
|
|
Documentation=man:squid(8)
|
2013-03-24 14:45:57 +01:00
|
|
|
After=network.target named.service nss-lookup.service
|
2012-10-22 21:07:11 +02:00
|
|
|
|
|
|
|
[Service]
|
2021-12-07 13:01:22 +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
|
2013-03-24 14:45:57 +01:00
|
|
|
Type=forking
|
2020-11-05 17:30:46 +01:00
|
|
|
ExecStartPre=%{_libexecdir}/squid/initialize_cache_if_needed.sh
|
2018-02-20 08:30:53 +01:00
|
|
|
ExecStart=/usr/sbin/squid -FC
|
|
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
2013-03-24 14:45:57 +01:00
|
|
|
LimitNOFILE=4096
|
2012-10-22 21:07:11 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2013-03-24 22:22:31 +01:00
|
|
|
|