Re: [systemd-devel] [PATCH] install: make reenable work with templated units

2013-07-13 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jun 17, 2013 at 07:11:50PM +0100, Ross Lagerwall wrote: Before, systemctl reenable getty@tty1.service would fail with: Failed to issue method call: File exists To fix this, reimplement reenable explicitly as a disable followed by an enable. This is shorter and is how the man page

Re: [systemd-devel] [PATCH] install: make reenable work with templated units

2013-07-13 Thread Ross Lagerwall
On Sat, Jul 13, 2013 at 04:12:33PM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Jun 17, 2013 at 07:11:50PM +0100, Ross Lagerwall wrote: Before, systemctl reenable getty@tty1.service would fail with: Failed to issue method call: File exists To fix this, reimplement reenable explicitly

[systemd-devel] [PATCH] install: make reenable work with templated units

2013-06-17 Thread Ross Lagerwall
Before, systemctl reenable getty@tty1.service would fail with: Failed to issue method call: File exists To fix this, reimplement reenable explicitly as a disable followed by an enable. This is shorter and is how the man page documents its behavior. --- src/shared/install.c | 38