[Lunar-commits] <moonbase-other> squid: Added systemd service file

Stefan Wold ratler at lunar-linux.org
Tue Jul 31 19:29:58 CEST 2012


commit 39c47e063e396224c2ab630360a64747429e9cbc
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Tue, 31 Jul 2012 10:29:58 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/39c47e063e396224c2ab630360a64747429e9cbc

squid: Added systemd service file
---
  web/squid/systemd.d/squid.service                            +14/-0    
  1 files changed, 14 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/web/squid/systemd.d/squid.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Squid caching proxy
+After=syslog.target network.target named.service
+
+[Service]
+Type=forking
+LimitNOFILE=16384
+ExecStartPre=/usr/sbin/squid -z -F &> /dev/null
+ExecStart=/usr/sbin/squid -f /etc/squid/squid.conf
+ExecReload=/usr/sbin/squid -k reconfigure -f /etc/squid/squid.conf
+ExecStop=/usr/sbin/squid -k shutdown -f /etc/squid/squid.conf
+
+[Install]
+WantedBy=multi-user.target




More information about the Lunar-commits mailing list