2011-07-21 12:31:23 +00:00
|
|
|
[Unit]
|
2012-01-27 20:37:31 +00:00
|
|
|
Description=Squid caching proxy
|
2019-05-17 12:58:26 +00:00
|
|
|
Documentation=man:squid(8)
|
|
|
|
After=network.target network-online.target nss-lookup.target
|
2011-07-21 12:31:23 +00:00
|
|
|
|
|
|
|
[Service]
|
2014-05-23 12:09:43 +00:00
|
|
|
Type=forking
|
2012-01-13 14:48:37 +00:00
|
|
|
LimitNOFILE=16384
|
2019-05-27 11:34:32 +00:00
|
|
|
PIDFile=/run/squid.pid
|
2011-07-21 12:31:23 +00:00
|
|
|
EnvironmentFile=/etc/sysconfig/squid
|
2011-10-26 06:46:29 +00:00
|
|
|
ExecStartPre=/usr/libexec/squid/cache_swap.sh
|
2014-05-23 12:09:43 +00:00
|
|
|
ExecStart=/usr/sbin/squid $SQUID_OPTS -f $SQUID_CONF
|
2019-05-27 11:34:32 +00:00
|
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
2019-05-21 15:08:18 +00:00
|
|
|
KillMode=mixed
|
2011-07-21 12:31:23 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|