From 786ef444f3ff0d1f8e0d931aaeb08d18786fd700 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 7 Dec 2015 00:49:54 +0000 Subject: squid.service --- systemd-units/squid.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 systemd-units/squid.service 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 -- cgit v1.2.3