summaryrefslogtreecommitdiff
path: root/systemd-units/squid.service
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-07 00:49:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-07 00:49:54 +0000
commit786ef444f3ff0d1f8e0d931aaeb08d18786fd700 (patch)
treec6c3f783ca5a7ad1c71d27b99a69c64c14bee6b3 /systemd-units/squid.service
parentAdd glacier2.service icebox.service slony1.service (diff)
downloadutil-786ef444f3ff0d1f8e0d931aaeb08d18786fd700.tar.bz2
util-786ef444f3ff0d1f8e0d931aaeb08d18786fd700.tar.xz
util-786ef444f3ff0d1f8e0d931aaeb08d18786fd700.zip
squid.servicesquid-service-1
Diffstat (limited to 'systemd-units/squid.service')
-rw-r--r--systemd-units/squid.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd-units/squid.service b/systemd-units/squid.service
new file mode 100644
index 0000000..4074d8f
--- /dev/null
+++ b/systemd-units/squid.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Web Proxy Cache Server
+Documentation=man:squid(8)
+
+[Service]
+ExecStartPre=/usr/sbin/squid -z
+ExecStart=/usr/sbin/squid -NYC
+ExecStop=/usr/sbin/squid -k shutdown
+ExecReload=/usr/sbin/squid -k reconfigure
+
+[Install]
+WantedBy=multi-user.target