Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18921247
launch_daemon.php
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
640 B
Referenced Files
None
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
Tue, Nov 11, 1:55 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8234693
Default Alt Text
launch_daemon.php (640 B)
Attached To
Mode
rP Phabricator
Attached
Detach File
Event Timeline
Log In to Comment