[systemd-devel] dependency-only .service

Uoti Urpala uoti.urpala at pp1.inet.fi
Mon Oct 15 23:23:38 UTC 2018


On Tue, 2018-10-16 at 00:47 +0200, Reindl Harald wrote:
> 
> 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

I don't think there is any obvious way to solve this just by defining a
target.




More information about the systemd-devel mailing list