Skip to content

Commit

Permalink
squid: Added systemd service file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratler committed Jul 31, 2012
1 parent 6736977 commit 39c47e0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 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

0 comments on commit 39c47e0

Please sign in to comment.