protected function willRun()
protected function willRun()
Return
wild |
protected function willSleep($duration)
protected function willSleep($duration)
Parameters
$duration |
Return
wild |
public function getViewer()
public function getViewer()
Return
wild |
public static function sudoCommandAsDaemonUser($command)
public static function sudoCommandAsDaemonUser($command)
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.
Parameters
PhutilCommandString | $command | Command to execute. |
Return
PhutilCommandString | `sudo` version of the command. |