Fixes T6842. Allow the daemons to always be terminated, even if MySQL is down. I was hoping to be able to optionally enable this behavior with the --force flag, but this seems messy.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T6842: Can't stop daemons if MySQL is down
- Commits
- Restricted Diffusion Commit
rPa85452b8d6ec: Allow daemons to be terminated in the absence of MySQL
> ./bin/phd start Freeing active task leases... Freed 1 task lease(s). Preparing to launch daemons. NOTE: Logs will appear in '/var/tmp/phd/log/daemons.log'. Starting daemons as phd Launching daemon "PhabricatorRepositoryPullLocalDaemon". Starting daemons as phd Launching daemon "PhabricatorGarbageCollectorDaemon". Starting daemons as phd Launching daemon "PhabricatorTaskmasterDaemon". Done. > service mysql stop mysql stop/waiting > ./bin/phd stop Interrupting daemon 'PhabricatorRepositoryPullLocalDaemon' (4263)... Interrupting daemon 'PhabricatorGarbageCollectorDaemon' (4271)... Interrupting daemon 'PhabricatorTaskmasterDaemon' (4287)... Daemon 4263 exited. Daemon 4271 exited. Daemon 4287 exited.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- master
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3835 Build 3847: [Placeholder Plan] Wait for 30 Seconds