Skip to content

Draft: add squid runscript

Andrew Bower requested to merge abower/runit-services:squid into next

Adds a runscript for the squid caching web proxy in Debian.

Includes a ground-up rewrite of the initscript's logic for parsing and handling the config for user, group and cache directory settings but the behaviour if these are present is currently untested (they are not present in the default config).

Waits for link or global network addresses to be set up as the proxy examines these on startup.

wc /usr/share/runit/sv.src/squid/run /etc/init.d/squid 
  67  260 1772 /usr/share/runit/sv.src/squid/run
 205  562 4155 /etc/init.d/squid

Merge request reports

Loading