HiveMinds / tw-install

Automatically installs Taskwarrior, Taskserver (TODO: and Timewarrior). This project aims to support automated installation of all Taskwarrior hook scripts, configuration flavours etc. with a single command.
GNU Affero General Public License v3.0
17 stars 7 forks source link

Prevent requirement for reboot after uninstallation #69

Closed a-t-0 closed 3 years ago

a-t-0 commented 3 years ago
      <p>Currently the software requires a reboot after installation before the software can be installed succesfully again.</p>

It would be nice to be able to directly re-install after uninstalling (as a developer), without reboot. Perhaps this can be done by first stopping all taskwarrior and/or taskserver related services/processes before removing the files/uninstalling. In particular perhaps

taskdctl stop

at the start of the uninstall.sh would be sufficient to allow direct re-installation after uninstall without reboot. Otherwise investigate more, to enable the user to directly re-install the taskserver automatically without reboot.

mohitsaxenaknoldus commented 3 years ago

Please assign it to me, I'll do it.

create-issue-branch[bot] commented 3 years ago

Branch issue-69-Prevent_requirement_for_reboot_after_uninstallation created!

mohitsaxenaknoldus commented 3 years ago

@a-t-0 You were right, adding taskdctl stop at the top fixed the problem. I've tested. PR raised: https://github.com/HiveMinds-EU/tw-install/pull/87

a-t-0 commented 3 years ago

Marvellous! Thank you for testing it manually!