squid/squid.service

17 lines
428 B
SYSTEMD
Raw Normal View History

2011-07-21 12:31:23 +00:00
[Unit]
2012-01-27 20:37:31 +00:00
Description=Squid caching proxy
2015-03-24 09:50:44 +00:00
After=network.target nss-lookup.target
2011-07-21 12:31:23 +00:00
[Service]
Type=forking
LimitNOFILE=16384
2011-07-21 12:31:23 +00:00
EnvironmentFile=/etc/sysconfig/squid
ExecStartPre=/usr/libexec/squid/cache_swap.sh
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