squid/squid.service
Jiri Skala 3dbdbb0cf9 fixes #747103 - squid does not start if /var/spool/squid is empty
fixes #747110 - squid does not start adding "memory_pools off"
2011-10-26 08:46:29 +02:00

15 lines
392 B
Desktop File

[Unit]
Description=Sqid caching proxy
After=syslog.target network.target
[Service]
Type=forking
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
[Install]
WantedBy=multi-user.target