summaryrefslogtreecommitdiff
path: root/community/squid/squid.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-20 02:04:03 -0800
committerroot <root@rshg054.dnsready.net>2012-11-20 02:04:03 -0800
commit0a05643b928d724c048e4306955642d91f24d33c (patch)
tree0a11cb4c40549d5a7359a86fccf6e05f65c52128 /community/squid/squid.service
parent705d29694fd61c47a57ccec531e73d87a2960021 (diff)
Tue Nov 20 02:04:03 PST 2012
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..9d41cc243
--- /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/sbin/squid -sYC
+ExecStop=/usr/sbin/squid -k shutdown
+ExecReload=/usr/sbin/squid -k reconfigure
+
+[Install]
+WantedBy=multi-user.target