|Summary:||RFE: Run some services only when at specific network location|
|Product:||systemd||Reporter:||David Jaša <jasa.david>|
|Component:||general||Assignee:||Lennart Poettering <lennart>|
|Status:||NEW ---||QA Contact:|
|i915 platform:||i915 features:|
Description David Jaša 2011-11-13 06:10:39 UTC
Use case: DLNA server on portable systems - it makes sense to run these services only when connected to trusted networks like home or friend's one. Other services could use this functionality too, like p2p apps so it would make sense to have this functionality in systemd to avoid code duplication.
Comment 1 Lennart Poettering 2012-07-20 14:08:54 UTC
This sounds like something that could be implemented easily externally: just define two targets that build on multi-user.target, and pull in the respective services they should pull in, and then somehow isolate to them depending on the location.
Comment 2 David Jaša 2012-08-16 20:14:50 UTC
This looks like it would be actually useful for servers too, see https://bugzilla.redhat.com/show_bug.cgi?id=837173 where lack of this functionality causes troubles.