2019-08-02 03:08:01 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Squid caching proxy
|
2020-01-21 23:14:06 +00:00
|
|
|
Documentation=man:squid(8)
|
|
|
|
After=network.target network-online.target nss-lookup.target
|
2019-08-02 03:08:01 +00:00
|
|
|
|
|
|
|
[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
|
|
|
|
TimeoutSec=0
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|