Re: dependency-only .service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux