2020-05-06 12:53:16 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Squid caching proxy
|
|
|
|
Documentation=man:squid(8)
|
|
|
|
After=network.target network-online.target nss-lookup.target
|
|
|
|
|
|
|
|
[Service]
|
2020-11-03 11:58:15 +00:00
|
|
|
Type=notify
|
2020-05-06 12:53:16 +00:00
|
|
|
LimitNOFILE=16384
|
2020-11-03 11:58:15 +00:00
|
|
|
PIDFile=/run/squid.pid
|
2020-05-06 12:53:16 +00:00
|
|
|
EnvironmentFile=/etc/sysconfig/squid
|
|
|
|
ExecStartPre=/usr/libexec/squid/cache_swap.sh
|
2020-11-03 11:58:15 +00:00
|
|
|
ExecStart=/usr/sbin/squid --foreground $SQUID_OPTS -f ${SQUID_CONF}
|
|
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
|
|
|
KillMode=mixed
|
|
|
|
NotifyAccess=all
|
2020-05-06 12:53:16 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|