Page MenuHomePhabricator

Add a `--local` flag for the `./bin/phd status` workflow.
ClosedPublic

Authored by joshuaspence on Jun 21 2014, 3:07 AM.
Tags
None
Referenced Files
F14039670: D9645.diff
Mon, Nov 11, 6:08 AM
F14027628: D9645.id23163.diff
Fri, Nov 8, 8:16 AM
F14023237: D9645.diff
Thu, Nov 7, 12:11 AM
F13989366: D9645.diff
Mon, Oct 21, 7:59 PM
F13975422: D9645.id.diff
Fri, Oct 18, 10:03 AM
F13965413: D9645.id23163.diff
Wed, Oct 16, 1:53 AM
Unknown Object (File)
Oct 2 2024, 12:18 PM
Unknown Object (File)
Sep 19 2024, 12:05 AM
Subscribers

Details

Summary

It is sometimes useful to use ./bin/phd status as a means to determine if daemons are actually running on the current host. For example, a common practice in upstart scripts is something similar to ./bin/phd status || ./bin/phd status.

Test Plan
> ./bin/phd status
ID   Host            PID  Started                 Daemon                               Arguments
1162 ip-10-127-58-93 4046 Jun 20 2014, 3:17:43 AM PhabricatorFactDaemon                         
1161 ip-10-127-58-93 3984 Jun 20 2014, 3:17:43 AM PhabricatorTaskmasterDaemon                   
1160 ip-10-127-58-93 3973 Jun 20 2014, 3:17:42 AM PhabricatorTaskmasterDaemon                   
1159 ip-10-127-58-93 3968 Jun 20 2014, 3:17:42 AM PhabricatorTaskmasterDaemon                   
1158 ip-10-127-58-93 3943 Jun 20 2014, 3:17:42 AM PhabricatorTaskmasterDaemon                   
1157 ip-10-127-58-93 3914 Jun 20 2014, 3:17:41 AM PhabricatorGarbageCollectorDaemon             
1156 ip-10-127-58-93 3909 Jun 20 2014, 3:17:41 AM PhabricatorRepositoryPullLocalDaemon          

> ./bin/phd status --local
There are no running Phabricator daemons.

Diff Detail

Repository
rP Phabricator
Branch
phdlocal
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1270
Build 1270: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Add a `--local` flag for the `./bin/phd status` workflow..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited edge metadata.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 21 2014, 4:56 PM
joshuaspence updated this revision to Diff 23163.

Closed by commit rPddd8c9c567e9 (authored by @joshuaspence).