2011-07-21 12:31:23 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Sqid caching proxy
|
2011-11-03 13:39:04 +00:00
|
|
|
After=syslog.target network.target named.service
|
2011-07-21 12:31:23 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
EnvironmentFile=/etc/sysconfig/squid
|
2011-10-26 06:46:29 +00:00
|
|
|
ExecStartPre=/usr/libexec/squid/cache_swap.sh
|
2011-07-21 12:31:23 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|