2011-07-21 12:31:23 +00:00
|
|
|
[Unit]
|
2012-01-27 20:37:31 +00:00
|
|
|
Description=Squid caching proxy
|
2012-10-26 14:19:13 +00:00
|
|
|
After=syslog.target network.target nss-lookup.target
|
2011-07-21 12:31:23 +00:00
|
|
|
|
|
|
|
[Service]
|
2014-05-23 12:09:43 +00:00
|
|
|
Type=forking
|
2014-06-08 16:02:28 +00:00
|
|
|
User=squid
|
|
|
|
Group=squid
|
2012-01-13 14:48:37 +00:00
|
|
|
LimitNOFILE=16384
|
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
|
2011-07-21 12:31:23 +00:00
|
|
|
ExecReload=/usr/sbin/squid $SQUID_OPTS -k reconfigure -f $SQUID_CONF
|
|
|
|
ExecStop=/usr/sbin/squid -k shutdown -f $SQUID_CONF
|
2014-06-13 12:15:01 +00:00
|
|
|
TimeoutSec=0
|
2011-07-21 12:31:23 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|