I noticed when I reboot my server, the Chat+ process goes down & I have to start it up manually every time I recycle the box. Is there way I can have Chat+ process restarted automatically anytime I reboot the server ?
Thanks.
I noticed when I reboot my server, the Chat+ process goes down & I have to start it up manually every time I recycle the box. Is there way I can have Chat+ process restarted automatically anytime I reboot the server ? |
in /etc/rc.local you can have things start up on reboot... cd /opt/chatplus/folder <<< this line sets the path to chat plus ./runchatplus.sh <<< this line is the command you use to start chat plus https://dolphin-techs.com - Skype: Dolphin Techs |
I would suggest to run chat+ server from regular user for the security reasons, so in this case the line in your /etc/rc.local file should look like this: su myuser -c "cd /path/to/ChatPlusServer; sh start.sh" The user 'myuser' should have access to the directory where Chat+ is located. Rules → http://www.boonex.com/terms |