Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504146 - net-proxy/squid - add systemd service unit
Summary: net-proxy/squid - add systemd service unit
Status: RESOLVED DUPLICATE of bug 454878
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-10 22:39 UTC by Michael Hampicke
Modified: 2014-03-11 16:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***