Hi Michael,

There are multiple issues here:

1) If the [Install] section changes, deb-systemd-enable needs to update
   its state file, so that it can remove all symlinks on purge.

2) As you mentioned, we also need to create all not-yet-created
   symlinks.

   Right now, I think this requires a new command, since
   deb-systemd-helper is-enabled will most likely not return true after
   the changed service file is present, so the naive
   deb-systemd-helper is-enabled && deb-systemd-helper reenable
   is not enough.

This seems like a good point to add a testsuite to i-s-h, to ensure we
don’t break what we currently have when adding that feature.

-- 
Best regards,
Michael


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to