forked from evolix/ansible-roles
23 lines
654 B
SYSTEMD
23 lines
654 B
SYSTEMD
|
## Copyright (C) 1996-2019 The Squid Software Foundation and contributors
|
||
|
##
|
||
|
## Squid software is distributed under GPLv2+ license and includes
|
||
|
## contributions from numerous individuals and organizations.
|
||
|
## Please see the COPYING and CONTRIBUTORS files for details.
|
||
|
##
|
||
|
|
||
|
[Unit]
|
||
|
Description=Squid Web Proxy Server
|
||
|
Documentation=man:squid(8)
|
||
|
After=network.target network-online.target nss-lookup.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
PIDFile=/var/run/squid.pid
|
||
|
ExecStartPre=/usr/sbin/squid --foreground -z
|
||
|
ExecStart=/usr/sbin/squid -sYC -f /etc/squid/evolinux-defaults.conf
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
KillMode=mixed
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|