Page MenuHomeIsabelle/Phabricator

abstract class PhabricatorDaemon
Phabricator Technical Documentation (Daemons)

This class is not documented.

Methods

protected function willRun()

This method is not documented.
Return
wild

protected function willSleep($duration)

This method is not documented.
Parameters
$duration
Return
wild

public function getViewer()

This method is not documented.
Return
wild

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$commandCommand to execute.
Return
PhutilCommandString`sudo` version of the command.