X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fdaemon.php;h=d5ef02a8ece961ce73ffb195afaeaa78d940cca6;hb=5817709562502b8bb823633da85eb51f93aea502;hp=ef5886c0bfb5d7167839fba3f4d33660e63cd5f3;hpb=4939be065ed289aba565e23c9e409c1b11f822e8;p=friendica.git diff --git a/bin/daemon.php b/bin/daemon.php index ef5886c0bf..d5ef02a8ec 100755 --- a/bin/daemon.php +++ b/bin/daemon.php @@ -45,7 +45,7 @@ $longopts = ['foreground']; $options = getopt($shortopts, $longopts); // Ensure that daemon.php is executed from the base path of the installation -if (!file_exists('boot.php') && (sizeof($_SERVER['argv']) != 0)) { +if (!file_exists('index.php') && (sizeof($_SERVER['argv']) != 0)) { $directory = dirname($_SERVER['argv'][0]); if (substr($directory, 0, 1) != '/') { @@ -76,8 +76,8 @@ DI::config()->load(); if (empty(DI::config()->get('system', 'pidfile'))) { die(<< [ + + 'system' => [ 'pidfile' => '/path/to/daemon.pid', ], TXT