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]
|
2013-03-24 14:45:57 +01:00
|
|
|
Type=forking
|
2017-03-22 16:16:54 +01:00
|
|
|
ExecStartPre=%{_libdir}/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
|
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
|
|
|
|