Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Run Clai as a Daemon rather than a Background Process #55

Open
andrewcmhicks opened this issue Apr 28, 2020 · 0 comments
Open

Run Clai as a Daemon rather than a Background Process #55

andrewcmhicks opened this issue Apr 28, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@andrewcmhicks
Copy link
Member

Feature description
Currently, clai.sh starts the server as a background process. This becomes an issue when attempting to uninstall the program, the processes are not shutdown but instead the source code directory is removed. This leaves the processes as zombies. To properly handle running the processes we can create a Daemon class that records the PID on startup. The PID can then be referenced later for shutting down.

Acceptance criteria

  1. Clai uninstall no longer leaves the processes as zombies.
@TathagataChakraborti TathagataChakraborti added the enhancement New feature or request label May 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants