forked from pool/squid
14 lines
458 B
SYSTEMD
14 lines
458 B
SYSTEMD
|
[Unit]
|
||
|
Description=Squid caching proxy
|
||
|
After=syslog.target network.target named.service
|
||
|
|
||
|
[Service]
|
||
|
EnvironmentFile=/etc/sysconfig/squid
|
||
|
ExecStartPre=/usr/sbin/squid_cache_swap.sh
|
||
|
ExecStart=/usr/sbin/squid -F -N $SQUID_START_OPTIONS -f /etc/squid/squid.conf
|
||
|
ExecReload=/usr/sbin/squid -F -N $SQUID_START_OPTIONS -k reconfigure -f /etc/squid/squid.conf
|
||
|
ExecStop=/usr/sbin/squid -F -N -k shutdown -f /etc/squid/squid.conf
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|