squid/squid.service
Lubos Uhliarik c5efa8f9fd Related: #1709299 - Use upstream squid.service
- fixed wrong paths to run dir + kill binary
2019-05-27 13:34:32 +02:00

18 lines
420 B
Desktop File

[Unit]
Description=Squid caching proxy
Documentation=man:squid(8)
After=network.target network-online.target nss-lookup.target
[Service]
Type=forking
LimitNOFILE=16384
PIDFile=/run/squid.pid
EnvironmentFile=/etc/sysconfig/squid
ExecStartPre=/usr/libexec/squid/cache_swap.sh
ExecStart=/usr/sbin/squid $SQUID_OPTS -f $SQUID_CONF
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=mixed
[Install]
WantedBy=multi-user.target