1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications/daemon/management
Joshua Spence ddd8c9c567 Add a --local flag for the ./bin/phd status workflow.
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.
```

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9645
2014-06-22 06:09:53 +10:00
..
PhabricatorDaemonManagementDebugWorkflow.php Improve phd help 2013-08-06 09:10:53 -07:00
PhabricatorDaemonManagementLaunchWorkflow.php Improve phd help 2013-08-06 09:10:53 -07:00
PhabricatorDaemonManagementListWorkflow.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
PhabricatorDaemonManagementLogWorkflow.php Do not perform write in PhabricatorDaemonLogQuery by default 2014-01-21 14:04:12 -08:00
PhabricatorDaemonManagementRestartWorkflow.php Modernize architecture of phd 2013-07-18 15:28:56 -07:00
PhabricatorDaemonManagementStartWorkflow.php Free task leases on "phd start" 2014-05-22 10:40:45 -07:00
PhabricatorDaemonManagementStatusWorkflow.php Add a --local flag for the ./bin/phd status workflow. 2014-06-22 06:09:53 +10:00
PhabricatorDaemonManagementStopWorkflow.php Modernize architecture of phd 2013-07-18 15:28:56 -07:00
PhabricatorDaemonManagementWorkflow.php Unify the local and global view for ./bin/phd status. 2014-06-18 11:44:52 +10:00