Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2895996
launch_daemon.php
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
531 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.
$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
Jan 19 2025, 22:23 (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129357
Default Alt Text
launch_daemon.php (531 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment