[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/infrastructure/daemon/ -> PhabricatorDaemon.php (summary)

(no description)

File Size: 53 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  willRun()
  willSleep()
  getViewer()
  sudoCommandAsDaemonUser()

Functions
Functions that are not part of a class:

willRun()   X-Ref
No description

willSleep($duration)   X-Ref
No description

getViewer()   X-Ref
No description

sudoCommandAsDaemonUser($command)   X-Ref
Format a command so it executes as the daemon user, if a daemon user is
defined. This wraps the provided command in `sudo -u ...`, roughly.

param: PhutilCommandString Command to execute.
return: PhutilCommandString `sudo` version of the command.



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1