Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15311757
D20602.id49137.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D20602.id49137.diff
View Options
diff --git a/src/applications/daemon/management/PhabricatorDaemonManagementRestartWorkflow.php b/src/applications/daemon/management/PhabricatorDaemonManagementRestartWorkflow.php
--- a/src/applications/daemon/management/PhabricatorDaemonManagementRestartWorkflow.php
+++ b/src/applications/daemon/management/PhabricatorDaemonManagementRestartWorkflow.php
@@ -6,7 +6,10 @@
protected function didConstruct() {
$this
->setName('restart')
- ->setSynopsis(pht('Stop, then start the standard daemon loadout.'))
+ ->setSynopsis(
+ pht(
+ 'Stop daemon processes on this host, then start the standard '.
+ 'daemon loadout.'))
->setArguments(
array(
array(
@@ -18,16 +21,14 @@
'default' => 15,
),
array(
- 'name' => 'gently',
+ 'name' => 'force',
'help' => pht(
- 'Ignore running processes that look like daemons but do not '.
- 'have corresponding PID files.'),
+ 'Stop all daemon processes on this host, even if they belong '.
+ 'to another Phabricator instance.'),
),
array(
- 'name' => 'force',
- 'help' => pht(
- 'Also stop running processes that look like daemons but do '.
- 'not have corresponding PID files.'),
+ 'name' => 'gently',
+ 'help' => pht('Deprecated. Has no effect.'),
),
$this->getAutoscaleReserveArgument(),
));
@@ -38,8 +39,8 @@
array(
'graceful' => $args->getArg('graceful'),
'force' => $args->getArg('force'),
- 'gently' => $args->getArg('gently'),
));
+
if ($err) {
return $err;
}
diff --git a/src/applications/daemon/management/PhabricatorDaemonManagementStopWorkflow.php b/src/applications/daemon/management/PhabricatorDaemonManagementStopWorkflow.php
--- a/src/applications/daemon/management/PhabricatorDaemonManagementStopWorkflow.php
+++ b/src/applications/daemon/management/PhabricatorDaemonManagementStopWorkflow.php
@@ -6,11 +6,7 @@
protected function didConstruct() {
$this
->setName('stop')
- ->setSynopsis(
- pht(
- 'Stop all running daemons, or specific daemons identified by PIDs. '.
- 'Use **%s** to find PIDs.',
- 'phd status'))
+ ->setSynopsis(pht('Stop daemon processes on this host.'))
->setArguments(
array(
array(
@@ -24,18 +20,12 @@
array(
'name' => 'force',
'help' => pht(
- 'Also stop running processes that look like daemons but do '.
- 'not have corresponding PID files.'),
+ 'Stop all daemon processes on this host, even if they belong '.
+ 'to another Phabricator instance.'),
),
array(
'name' => 'gently',
- 'help' => pht(
- 'Ignore running processes that look like daemons but do not '.
- 'have corresponding PID files.'),
- ),
- array(
- 'name' => 'pids',
- 'wildcard' => true,
+ 'help' => pht('Deprecated. Has no effect.'),
),
));
}
@@ -45,7 +35,6 @@
array(
'graceful' => $args->getArg('graceful'),
'force' => $args->getArg('force'),
- 'gently' => $args->getArg('gently'),
));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 7, 10:45 AM (4 d, 15 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7332176
Default Alt Text
D20602.id49137.diff (3 KB)
Attached To
Mode
D20602: Deprecate "bin/phd ... --gently" and update documentation
Attached
Detach File
Event Timeline
Log In to Comment