[DAEMON-196] appcd-core: Ensure the pid file always exists
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2017-11-28T10:45:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.0.0 |
Components | appcd-core |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2017-11-28T10:44:42.000+0000 |
Updated | 2017-11-28T10:45:53.000+0000 |
Description
When the daemon is running, it creates a pid file in the appcd home dir. This is critical as it is used to determine if the daemon is running. If this file is deleted while the daemon is running, this can be problematic as the zombie daemon process will need to manually terminated by the user.
https://github.com/appcelerator/appc-daemon/pull/205