summaryrefslogtreecommitdiff
path: root/community/squid/squid.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/squid/squid.service')
-rw-r--r--community/squid/squid.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/squid/squid.service b/community/squid/squid.service
new file mode 100644
index 000000000..1db8860e5
--- /dev/null
+++ b/community/squid/squid.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Web Proxy Cache Server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/squid.pid
+ExecStart=/usr/bin/squid -sYC
+ExecStop=/usr/bin/squid -k shutdown
+ExecReload=/usr/bin/squid -k reconfigure
+
+[Install]
+WantedBy=multi-user.target