Hi Ed,

It i do to run OpenMeetings when turn on the machine
or reboot it is: 

sudo nano /etc/init.d/boot

...paste the 2 following lines:

#!/bin/bash
/etc/init.d/tomcat3 start

...push Ctrl+X, will ask to save then press Y,
and Enter to exit nano editor.

Now give execution permission to this script:

sudo +x /etc/init.d/boot

...and now a symlink:

ln -s /etc/init.d/boot /etc/rc3.d/S98boot


Works for me.




El lun, 01-02-2021 a las 18:18 +0100, [email protected]
escribió:
> Hello,
> 
> Does anyone have a best practice for autostarting kms inside docker 
> whenever there is a docker or server restart?
> 
> Could you share it please?
> 
> Also, for tomcat3 to restart automatically on reboot I had to add
> the 
> following symlinks:
> 
> ln -s /etc/init.d/tomcat3 /etc/rc0.d/K01tomcat3
> ln -s /etc/init.d/tomcat3 /etc/rc1.d/K01tomcat3
> ln -s /etc/init.d/tomcat3 /etc/rc6.d/K01tomcat3
> ln -s /etc/init.d/tomcat3 /etc/rc2.d/S01tomcat3
> ln -s /etc/init.d/tomcat3 /etc/rc3.d/S01tomcat3
> ln -s /etc/init.d/tomcat3 /etc/rc4.d/S01tomcat3
> ln -s /etc/init.d/tomcat3 /etc/rc5.d/S01tomcat3
> 
> Does anyone ahve abetter way to enable tomcat autorestart on server 
> reboot?  If so, could you share it please?
> 
> Thanks,
> 
> Ed

Reply via email to