summarylogtreecommitdiffstats
path: root/squid.service
diff options
context:
space:
mode:
authorbar0metr2018-08-13 22:03:06 +0500
committerbar0metr2018-08-13 22:03:06 +0500
commit16e190b9b4f6a919f2e677d1720d5e7b1354b68f (patch)
treeec04cf700acb76ca2735525c937b44efb192b398 /squid.service
downloadaur-16e190b9b4f6a919f2e677d1720d5e7b1354b68f.tar.gz
First
Diffstat (limited to 'squid.service')
-rw-r--r--squid.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/squid.service b/squid.service
new file mode 100644
index 000000000000..1db8860e581f
--- /dev/null
+++ b/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