squid/squid.service

29 lines
706 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Squid caching proxy
Documentation=man:squid(8)
Accepting request 159652 from home:bruno_friedmann:branches:server:proxy Rework the systemd squid.service to make it able to intialize cache directory (squid -z) fixing bnc#802635 Removing the unneeded bash wrapper Upgrade to bugfixes upstream release 3.2.9 - New revision for squid.service (using only sed) handle multiple cache_dir line Added sed as require - Packaging : fixed systemd squid.service - Rework on squid.service ExecStartPre line remove dependency on unfunctionnal wrapper - Fix bnc#802635 (creating cache struture fail on first call) - Fixed Type=forking and remove the use off -N (non daemon flag) - Fixed missing pid file - Structural : add all -k to end of Exec/Stop line - Ulimit : Added LimitNOFile=4096 ( same value as in /etc/sysconfig) but there's no way to decode dynamically /etc/sysconfig - Remove syslog.target ( no need anymore : advise from fcrozat ) - Clean up squid_cache_build.sh - Changes to squid-3.2.9 (12 Mar 2013): - Regression fix: Accept-Language header parse - Bug 3673: Silence 'Failed to select source' messages - Fix authentication headers sent on peer digest requests - Fix build error on Solaris, OpenIndiana, Omnios - Changes to squid-3.2.8 (02 Mar 2013): - Bug 3767: tcp_outgoing_tos/mark ACLs do not obey acl_uses_indirect_client - Bug 3763: diskd Error: no filename in shm buffer - Bug 3752: objects that cannot be cached in memory are not cached on disk - Bug 3753: Removes the domain from the cache_peer server pconn key - Bug 3749: IDENT lookup using wrong ports to identify the user - Bug 3723: tcp_outgoing_tos/mark broken for CONNECT requests - Bug 3686: cache_dir max-size default fails - Bug 3515: crash in FtpStateData::ftpTimeout - Bug 3329: Quieten orphan Comm::Connection messages - Make squid -z for cache_dir rock preserve the rock DB OBS-URL: https://build.opensuse.org/request/show/159652 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=34
2013-03-24 14:45:57 +01:00
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
Accepting request 159652 from home:bruno_friedmann:branches:server:proxy Rework the systemd squid.service to make it able to intialize cache directory (squid -z) fixing bnc#802635 Removing the unneeded bash wrapper Upgrade to bugfixes upstream release 3.2.9 - New revision for squid.service (using only sed) handle multiple cache_dir line Added sed as require - Packaging : fixed systemd squid.service - Rework on squid.service ExecStartPre line remove dependency on unfunctionnal wrapper - Fix bnc#802635 (creating cache struture fail on first call) - Fixed Type=forking and remove the use off -N (non daemon flag) - Fixed missing pid file - Structural : add all -k to end of Exec/Stop line - Ulimit : Added LimitNOFile=4096 ( same value as in /etc/sysconfig) but there's no way to decode dynamically /etc/sysconfig - Remove syslog.target ( no need anymore : advise from fcrozat ) - Clean up squid_cache_build.sh - Changes to squid-3.2.9 (12 Mar 2013): - Regression fix: Accept-Language header parse - Bug 3673: Silence 'Failed to select source' messages - Fix authentication headers sent on peer digest requests - Fix build error on Solaris, OpenIndiana, Omnios - Changes to squid-3.2.8 (02 Mar 2013): - Bug 3767: tcp_outgoing_tos/mark ACLs do not obey acl_uses_indirect_client - Bug 3763: diskd Error: no filename in shm buffer - Bug 3752: objects that cannot be cached in memory are not cached on disk - Bug 3753: Removes the domain from the cache_peer server pconn key - Bug 3749: IDENT lookup using wrong ports to identify the user - Bug 3723: tcp_outgoing_tos/mark broken for CONNECT requests - Bug 3686: cache_dir max-size default fails - Bug 3515: crash in FtpStateData::ftpTimeout - Bug 3329: Quieten orphan Comm::Connection messages - Make squid -z for cache_dir rock preserve the rock DB OBS-URL: https://build.opensuse.org/request/show/159652 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=34
2013-03-24 14:45:57 +01:00
Type=forking
ExecStartPre=%{_libexecdir}/squid/initialize_cache_if_needed.sh
ExecStart=/usr/sbin/squid -FC
ExecReload=/usr/bin/kill -HUP $MAINPID
Accepting request 159652 from home:bruno_friedmann:branches:server:proxy Rework the systemd squid.service to make it able to intialize cache directory (squid -z) fixing bnc#802635 Removing the unneeded bash wrapper Upgrade to bugfixes upstream release 3.2.9 - New revision for squid.service (using only sed) handle multiple cache_dir line Added sed as require - Packaging : fixed systemd squid.service - Rework on squid.service ExecStartPre line remove dependency on unfunctionnal wrapper - Fix bnc#802635 (creating cache struture fail on first call) - Fixed Type=forking and remove the use off -N (non daemon flag) - Fixed missing pid file - Structural : add all -k to end of Exec/Stop line - Ulimit : Added LimitNOFile=4096 ( same value as in /etc/sysconfig) but there's no way to decode dynamically /etc/sysconfig - Remove syslog.target ( no need anymore : advise from fcrozat ) - Clean up squid_cache_build.sh - Changes to squid-3.2.9 (12 Mar 2013): - Regression fix: Accept-Language header parse - Bug 3673: Silence 'Failed to select source' messages - Fix authentication headers sent on peer digest requests - Fix build error on Solaris, OpenIndiana, Omnios - Changes to squid-3.2.8 (02 Mar 2013): - Bug 3767: tcp_outgoing_tos/mark ACLs do not obey acl_uses_indirect_client - Bug 3763: diskd Error: no filename in shm buffer - Bug 3752: objects that cannot be cached in memory are not cached on disk - Bug 3753: Removes the domain from the cache_peer server pconn key - Bug 3749: IDENT lookup using wrong ports to identify the user - Bug 3723: tcp_outgoing_tos/mark broken for CONNECT requests - Bug 3686: cache_dir max-size default fails - Bug 3515: crash in FtpStateData::ftpTimeout - Bug 3329: Quieten orphan Comm::Connection messages - Make squid -z for cache_dir rock preserve the rock DB OBS-URL: https://build.opensuse.org/request/show/159652 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=34
2013-03-24 14:45:57 +01:00
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target