squid/squid.service

19 lines
451 B
SYSTEMD
Raw Permalink Normal View History

2011-07-21 12:31:23 +00:00
[Unit]
2012-01-27 20:37:31 +00:00
Description=Squid caching proxy
Documentation=man:squid(8)
After=network.target network-online.target nss-lookup.target
2011-07-21 12:31:23 +00:00
[Service]
Type=notify
LimitNOFILE=16384
PIDFile=/run/squid.pid
2011-07-21 12:31:23 +00:00
EnvironmentFile=/etc/sysconfig/squid
ExecStartPre=/usr/libexec/squid/cache_swap.sh
ExecStart=/usr/sbin/squid --foreground $SQUID_OPTS -f ${SQUID_CONF}
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=mixed
NotifyAccess=all
2011-07-21 12:31:23 +00:00
[Install]
WantedBy=multi-user.target