Adam Majer
e83ebc1600
fix PIDFile OBS-URL: https://build.opensuse.org/request/show/999891 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=258
29 lines
706 B
Desktop File
29 lines
706 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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|