Bananian

How to run services after reboot in 15.08 (rc.local seems not to be executed ...

4 1564
Hi,
I have some initialisations and scripts which in former versions of Bananian were executed out of /etc/rc.local.
Since the update to 15.08 it seems that rc.local is no longer executed at system boot.
Is there a way to run rc.local automatically or is there another mechanism to start services / commands at boot time?

Thanks in Advance

Harald

nebkas  
Hi Harald,

rc.local is still working in 15.08.

Just watch out that you put your scripts before the last line 'exit 0'.


greats


Nebkas

kaleith  
nebkas replied at Oct 08, 2015 07:00
Hi Harald,

rc.local is still working in 15.08.

Hi nebkas.


my command works fine from command promt. But it doesnt work when i write it inside rc.local.

  1. /usr/bin/screen -dmS test cgminer -o stratum+tcp://stratum.solo.nicehash.com:3334 -u 16jErG13TMKqRRFh16idpU23tiYrUAJEQh.togepi -p x --au3-freq 240.0 --au3-volt 800
Copy the Code
what do i do wrong? I need this to start at reboot.

I also tried creating a cron with @reboot keyword. But it didnt work either.

Can you please help me?

AR9285  

Are you sure it did not start? rc.local ran as root, so if you run 'screen -r' with normal user you'll resume nothing.

kaleith  
AR9285 replied at Jan 03, 2016 20:58
Are you sure it did not start? rc.local ran as root, so if you run 'screen -r' with normal user yo ...

I run screen -r as root and it still resumes to nothing.


You have to log in before you can reply Login | Sign Up

Points Rules