summaryrefslogtreecommitdiff
path: root/extra/squid/squid.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/squid/squid.service')
-rw-r--r--extra/squid/squid.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/squid/squid.service b/extra/squid/squid.service
new file mode 100644
index 000000000..9d41cc243
--- /dev/null
+++ b/extra/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/sbin/squid -sYC
+ExecStop=/usr/sbin/squid -k shutdown
+ExecReload=/usr/sbin/squid -k reconfigure
+
+[Install]
+WantedBy=multi-user.target