Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F35235723
launch_daemon.php
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
640 B
Subscribers
None
launch_daemon.php
View Options
#!/usr/bin/env php
<?php
// NOTE: This is substantially the same as the libphutil/ "launch_daemon.php"
// script, except it loads the Phabricator environment and adds some Phabricator
// specific flags.
if
(
function_exists
(
'pcntl_async_signals'
))
{
pcntl_async_signals
(
true
);
}
else
{
declare
(
ticks
=
1
);
}
$root
=
dirname
(
dirname
(
dirname
(
__FILE__
)));
require_once
$root
.
'/scripts/__init_script__.php'
;
$overseer
=
new
PhutilDaemonOverseer
(
$argv
);
$bootloader
=
PhutilBootloader
::
getInstance
();
foreach
(
$bootloader
->
getAllLibraries
()
as
$library
)
{
$overseer
->
addLibrary
(
phutil_get_library_root
(
$library
));
}
$overseer
->
run
();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 4, 7:05 AM (1 d, 6 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
73/93/7b2d2d0e969e84b3d71f63afe5fb
Attached To
rPHAB Phabricator
Event Timeline
Log In to Comment