squid/squid.service
Michal Luscon 9ed7cc7ee0 Resolved: #854356 - squid.service use PIDFile
Resolved: #859393 - Improve cache_swap script
Resolved: #791129 - disk space warning
Resolved: #862252 - reload on VPN or network up/down
Resolved: #867531 - run test suite during build
Resolved: #832684 - missing after dependency nss-lookup.target
Removed obsolete configure options
2012-10-26 16:21:30 +02:00

17 lines
456 B
Desktop File

[Unit]
Description=Squid caching proxy
After=syslog.target network.target nss-lookup.target
[Service]
Type=forking
LimitNOFILE=16384
EnvironmentFile=/etc/sysconfig/squid
ExecStartPre=/usr/libexec/squid/cache_swap.sh
ExecStart=/usr/sbin/squid $SQUID_OPTS -f $SQUID_CONF
ExecReload=/usr/sbin/squid $SQUID_OPTS -k reconfigure -f $SQUID_CONF
ExecStop=/usr/sbin/squid -k shutdown -f $SQUID_CONF
PIDFile=/var/run/squid.pid
[Install]
WantedBy=multi-user.target