2012-10-22 21:07:11 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Squid caching proxy
|
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]
|
2013-03-24 14:45:57 +01:00
|
|
|
Type=forking
|
|
|
|
EnvironmentFile=-/etc/sysconfig/squid
|
2017-03-22 16:16:54 +01:00
|
|
|
ExecStartPre=%{_libdir}/squid/initialize_cache_if_needed.sh
|
2013-03-24 22:22:31 +01:00
|
|
|
ExecStart=/usr/sbin/squid -F $SQUID_START_OPTIONS -f /etc/squid/squid.conf
|
2013-03-24 14:45:57 +01:00
|
|
|
ExecReload=/usr/sbin/squid -F $SQUID_START_OPTIONS -f /etc/squid/squid.conf -k reconfigure
|
|
|
|
ExecStop=/usr/sbin/squid -F -f /etc/squid/squid.conf -k shutdown
|
|
|
|
LimitNOFILE=4096
|
2014-03-28 19:49:46 +01:00
|
|
|
PIDFile=/run/squid.pid
|
2012-10-22 21:07:11 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2013-03-24 22:22:31 +01:00
|
|
|
|