[systemd-devel] dependency-only .service

Reindl Harald h.reindl at thelounge.net
Mon Oct 15 22:47:06 UTC 2018



Am 16.10.18 um 00:09 schrieb Johannes Ernst:
> I have several programs A, B and C that, while they are running, require memcached.service to be running.
> When none of A, B, or C is running, I want memcached.service to not run either.
> A, B and C should share the same memcached instance.
> 
> How do I best express this?

https://www.freedesktop.org/software/systemd/man/systemd.target.html


More information about the systemd-devel mailing list