1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications/daemon/management
epriestley b3394c53d8 Detect goofy sudo -n output under OSX
Summary: See rP2fedb6f941d8. We might need a more general version of this since we do some `sudo` stuff elsewhere, but at least on my machine `sudo -n` exits with code 0 when the target user exists but needs a password.

Test Plan:
  - Tried to run daemons as root, with no automatic sudo to root. Got a bad result before (phd believed it had executed the daemons) and a good result afterward (phd recognized that sudo failed).
  - Tried to run daemons from root, as a non-root user. Got a good result in both cases.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: fabe, epriestley

Differential Revision: https://secure.phabricator.com/D11041
2014-12-23 14:45:07 -08:00
..
PhabricatorDaemonManagementDebugWorkflow.php Start phd daemons as the correctly configured user and refuse otherwise 2014-12-23 08:15:51 -08: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 Tweak --limit for bin/phd log 2014-08-29 10:02:19 -07:00
PhabricatorDaemonManagementRestartWorkflow.php phd - make stop / restart savvy to daemons without pid files 2014-08-26 14:12:31 -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 phd - make stop / restart savvy to daemons without pid files 2014-08-26 14:12:31 -07:00
PhabricatorDaemonManagementWorkflow.php Detect goofy sudo -n output under OSX 2014-12-23 14:45:07 -08:00