17 Aug
2016
17 Aug
'16
05:22
On Wed, 17 Aug 2016 12:09, Marcus Meissner wrote:
Hi,
Is there a systemd way to migrate service files and keep enabled state?
E.g. We are planning a hawk -> hawk2 migration and would like to transfer the hawk enabled state to hawk2.
(Or use something like systemctl status hawk.service || systemctl enable hawk2.service or so)
The following works, but is not ideal: in spec-file, before uninstaling hawk, after installing hawk2: systemctl is-enabled hawk.service && systemctl enable hawk2.service be aware of "--root=PATH", it may be needed - Yamaban -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org