SHA256
1
0
forked from pool/squid
squid/squid.service

14 lines
458 B
Desktop File

[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