46 Log::trace(
'Checking for exec file: ' . $execFile);
48 if (file_exists($execFile)) {
51 $action = file_get_contents($execFile);
52 Log::trace(
'Action read from exec file: "' . $action .
'"');
54 if ($action == self::QUIT) {
57 } elseif ($action == self::RESTART) {
61 Log::trace(
'Unknown action: "' . $action .
'"');
67 if ($action != self::RESTART) {
69 $unlinkResult = @unlink($execFile);
70 Log::trace(
'Unlink result: ' . ($unlinkResult ?
'success' :
'failed'));
73 Log::trace(
'Exec file does not exist: ' . $execFile);