[systemd-devel] How to exclusively toggle between two systemd instances of a single daemon?

2014-10-08 Thread terrygalant . lists
Hi I have 2 installed instances of a single daemon. 1 is from distro-installed packages, installed into standard default OS locations with unit files in /usr/lib/systemd/system/. The other is installed under /opt, with unit files currently in /opt/mydaemon/systemd/system/, which can be (un)sym

Re: [systemd-devel] How to exclusively toggle between two systemd instances of a single daemon?

2014-10-08 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Oct 08, 2014 at 06:30:51AM -0700, terrygalant.li...@fastest.cc wrote: > Hi > > I have 2 installed instances of a single daemon. > > 1 is from distro-installed packages, installed into standard default OS > locations with unit files in /usr/lib/systemd/system/. > > The other is installed

Re: [systemd-devel] How to exclusively toggle between two systemd instances of a single daemon?

2014-10-08 Thread terrygalant . lists
Hi Zbigniew On Wed, Oct 8, 2014, at 06:39 AM, Zbigniew Jędrzejewski-Szmek wrote: > You can also make a symlink from /etc/systemd/system/xxx.service to > either of the two files and manage it by hand, calling systemctl > daemon-reload afterwards. I think this should work. > > > If other systemd un

Re: [systemd-devel] How to exclusively toggle between two systemd instances of a single daemon?

2014-10-08 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Oct 08, 2014 at 06:45:48AM -0700, terrygalant.li...@fastest.cc wrote: > Hi Zbigniew > > On Wed, Oct 8, 2014, at 06:39 AM, Zbigniew Jędrzejewski-Szmek wrote: > > You can also make a symlink from /etc/systemd/system/xxx.service to > > either of the two files and manage it by hand, calling sy

Re: [systemd-devel] How to exclusively toggle between two systemd instances of a single daemon?

2014-10-08 Thread Mantas Mikulėnas
On Wed, Oct 8, 2014 at 4:39 PM, Zbigniew Jędrzejewski-Szmek < zbys...@in.waw.pl> wrote: > On Wed, Oct 08, 2014 at 06:30:51AM -0700, terrygalant.li...@fastest.cc > wrote: > > Hi > > > > I have 2 installed instances of a single daemon. > > > > 1 is from distro-installed packages, installed into stan

Re: [systemd-devel] How to exclusively toggle between two systemd instances of a single daemon?

2014-10-08 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Oct 09, 2014 at 07:51:32AM +0300, Mantas Mikulėnas wrote: > On Wed, Oct 8, 2014 at 4:39 PM, Zbigniew Jędrzejewski-Szmek < > zbys...@in.waw.pl> wrote: > > > On Wed, Oct 08, 2014 at 06:30:51AM -0700, terrygalant.li...@fastest.cc > > wrote: > > > Hi > > > > > > I have 2 installed instances of