Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Ghost --> restart

2


Threaded Mode | Print  

Ghost --> restart
diimaan
Group: Member
Post Group: Newbie
Posts: 2
Status:
I have installed ghost blog in my host and it runs when I open the Softaculous installer. After edit installation and select restart in node js action it runs. But after few moments it stops automatically!

This is my ghost blog domain "http://moonofthedark.com/"

This is the content of my cron php!
Code

<?php

$host = 'www.moonofthedark.com';
$port = '61465';
$cron = true; // Set $cron = false to Stop cron

if(@$_SERVER['SERVER_PORT'] > 1){
    die('Not accesible via the web !');
}

if($cron == true){
    $checkconn = @fsockopen($host, $port, $errno, $errstr, 5);
    if(empty($checkconn)){
        exec('export HOME=/home/helvetia/nodejs; cd /home/helvetia/public_html/moonofthedark.com; /home/helvetia/nodejs/bin/npm start --production >> /home/helvetia/nodejs/ghost61465.log 2>&1 &', $out, $ret);       
    }
}

?>


Any help would be really appreciated!
Thanks
IP: --   

Ghost --> restart
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5859
Status:
Hi,

It seems some utility on the server might be killing the nodejs process after running for some time.

Can you please open a support ticket with us and we will check it for you :
https://www.softaculous.com/support/

-----------------------
Softaculous
Supercharge your WordPress Hosting with SoftWP (10+ WordPress Pro plugins for Free)
IP: --   

Ghost --> restart
diimaan
Group: Member
Post Group: Newbie
Posts: 2
Status:
Do I have to provide SSH details?
IP: --   

« Previous    Next »

Threaded Mode | Print  

2


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is November 9, 2025, 9:27 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.296