HomeClusterLabs Projects

Fix: systemd: improve unit files

Description

Fix: systemd: improve unit files

Per http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/,
"network.target is a passive unit ... Services using the network should hence
simply place an After=network.target dependency in their unit files, and avoid
any Wants=network.target or even Requires=network.target."

I also considered using network-online.target instead of network.target,
but: "It is strongly recommended not to pull in this target too liberally: for
example network server software should generally not pull this in (since server
software generally is happy to accept local connections even before any
routable network interface is up), its primary purpose is network client
software that cannot operate without network."

Details

Provenance
kgaillotAuthored on Mar 24 2015, 2:50 PM
Parents
rPd8e9241aac31: Merge pull request #672 from gao-yan/crm_resource-anonymous-children
Branches
Unknown
Tags
Unknown

Event Timeline