Community and Support
            Knowledge Base Analytics Plus Startup related Linux

            Auto start Analytics Plus in Linux

            Steps to auto start Analytics Plus in Linux environment:

             

             

            1. Open "StartServer.sh" present in <AnalyticsPlus\bin>

              • Add  '#!/bin/sh' as the first line of the code.
              • Add  'cd <location to Analytics/bin>' before the line 'sh run.sh'  ex : cd /home/admin/AnalyticsPlus/bin/

             

            2. Open "rc.local" present in <'/etc/'>

              • Make sure that '#!/bin/sh -e' is the first line, if not change it.
              • Add 'sh <path to StartServer.sh modified earlier>' ex : sh /home/admin/AnalyticsPlus/bin/StartServer.sh
              • Add 'exit 0' as the last line.

            3. To make sure that etc/rc.local is executable, execute the following

              • sudo chown root /etc/rc.local
              • sudo chmod 755 /etc/rc.local

             

            Now to check whether it is working properly execute  'sudo /etc/init.d/rc.local start'.

            If it starts then autostart should just work fine when we restart.


            Updated: 08 Sep 2017 12:31 PM
            Helpful?  
            Help us to make this article better
            0 0