Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504146

Summary: net-proxy/squid - add systemd service unit
Product: Gentoo Linux Reporter: Michael Hampicke <mh>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Hampicke 2014-03-10 22:39:50 UTC
Howdy, squid is missing a systemd service unit.

I would suggest something like this (inspired by Arch)

[Unit]
Description=Web Proxy Cache Server
After=network.target

[Service]
Type=forking
PIDFile=/run/squid.pid
ExecStart=/usr/sbin/squid -sYC
ExecStop=/usr/sbin/squid -k shutdown
ExecReload=/usr/sbin/squid -k reconfigure

[Install]
WantedBy=multi-user.target
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-11 16:14:08 UTC

*** This bug has been marked as a duplicate of bug 454878 ***