Homestyx hydra
Diffusion hydra 18ee51ac7b1f

use available api to check daemon status

Description

use available api to check daemon status

Summary:
Replace executing 'ps aux' with usage of available api to
control daemons PhabricatorDaemonControl.

This fixes isPullDaemonRunningOnThisMachine returning wrong status
under Fedora & lighttpd & SELinux because SELinux with default
settings blocked getting all processes in 'ps aux'.

Test Plan: start stop daemon and check repository app

Reviewers: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3557

Details

Provenance
Vasyl VavrychukAuthored on Sep 26 2012, 6:33 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:f1d4755c6171: Fix unit test updates so a diff update has a predictable unit test status
Branches
Unknown
Tags
Unknown

Event Timeline