634248591d
Fixed squid.service file (sorry for the previous mess), Commented patch line removed. Ready for factory, and have patchinfo for 12.3 OBS-URL: https://build.opensuse.org/request/show/160810 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=35
18 lines
674 B
Desktop File
18 lines
674 B
Desktop File
[Unit]
|
|
Description=Squid caching proxy
|
|
After=network.target named.service nss-lookup.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
EnvironmentFile=-/etc/sysconfig/squid
|
|
ExecStartPre=/bin/sh -c "test -d \"`sed -n 's/^cache_dir\s\+[[:alnum:]]\+\s\+\([[:graph:]\/]\+\)\s.*/\1/p' /etc/squid/squid.conf | sed '1 q'`/00\" || /usr/sbin/squid -z -F -N -S -f /etc/squid/squid.conf"
|
|
ExecStart=/usr/sbin/squid -F $SQUID_START_OPTIONS -f /etc/squid/squid.conf
|
|
ExecReload=/usr/sbin/squid -F $SQUID_START_OPTIONS -f /etc/squid/squid.conf -k reconfigure
|
|
ExecStop=/usr/sbin/squid -F -f /etc/squid/squid.conf -k shutdown
|
|
LimitNOFILE=4096
|
|
PIDFile=/var/run/squid.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|